Skip to content

Conversation

@manishsing
Copy link
Owner

No description provided.

Prabhjot Singh Sethi and others added 30 commits October 18, 2014 05:16
1. Avoid agent crash when dataplane_ip or management_ip is not specified
2. Add introspect to show VMI and tag for logical-port
3. Create VlanLogicalPortEntry
since junos donot support colon(:) for logical switch name.

Change to remove logical switch name from key of vlan_port_binding.
Move ovs_peer.cc and .h to ovsdb_client/ directory
And add routes for export to bgp.
Skipping routes imported from same ovsdb.
1. Modify the logic used to identify routes that must be exported to controller
   In existing design, controller-peer looks at the peer-type to decide if
   path added by it can be exported to controller. Any new type of peer will
   need modifying this code as well.

   The design is modified such that, a virtual function in peer specifies if
   the routes added by peer should be exported to controller.

2. Modify the logic to set the nexthop-ip in route exported to controller.
   In existing design, agent always sets IP address of VHOST to be the
   nexthop-ip in the route exported to controller.

   In case of OVS, agent is exporting route on-behalf of the ToR. In this
   case the nexthop should actually be that of ToR. The design is modified
   to get the nexthop-ip from peer

   Only EVPN routes are using the new API. L3 and Mcast routes will be
   modified later to use the new API.

3. Add skeletal code for UT of OVS-Peer
replace printf with OVSDB_TRACE.
Issue:
------
The retract string bgp for EVPN routes is of format,
<vn-id>-<mac>,<ip>

The current code for marsing mac-address only strips vn-id and tries to
decode MAC address from string <mac>,<ip>. The decode fails due to presence
of IP address.

Fix:
---
Strip the IP address and additional "," using strtok_r and parse the MAC
address
Separating OvsdbClientSession to separate file.
Adding some more traces.
Re-try on add failures from ovsdb.
1) DHCP handling - reply to dhcp request from baremetals behind TOR, IP-MAC binding received from VMI created for baremetal.
2) Multicast TOR and subscribe for multicast fabric tree when TOR is added (even in absence of any local vm interface)
3) VM interface creation binded to TOR logical ports.
Handle reuse of physical locator for multicast remote mac.
Change-Id: I95a9bb9f5a4200ce60e26ac0300f893d474ada0c
 names stats table, so that it can be queried to get a list
 of ModuleId's occuring in any time range.

Closes-Bug:#1360414

Change-Id: I8256ff794850bd321ad8fe543fa83b8356c5f21b
Add a link from loadbalancer pool to virtual machine interface(VMI).
VMI is linked to a logical interface of a physical router where the
configuration is stored.

Change-Id: I1f708e12ad0bef87c33da34b189d1c86574c4b81
Closes-Bug: #1381775
…send a subnet_uuid, we were allocating a new UUID. If the subnet already exists, we should reuse the subnet_uuid. Now, we read from cassandra before generating a new UUID.

Change-Id: I13426663c8a2a8e79fbf170dffb81c726506cee1
Closes-Bug: 1381779
(cherry picked from commit c2f71af5f2e9a6f31ce65e48c0e4a4c62e82f0c8)
…arlier version

Change-Id: Ic39a4e1fc46c5259f3a5de69e778ac1352dc034d
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintain DBSTate to see if you have already added entry or not to avoid duplicate processing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comments on what is ClonedLocalPath here?

Prabhjot Singh Sethi added 2 commits November 14, 2014 01:29
earlier if there is a temp entry created due to reference,
we always fail to add the corresponding ovsdb entry.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should compare with agent_name() instead of host_name()

naveen-n and others added 16 commits November 14, 2014 21:09
  interface
* Delete all ARP route dependent, when resolve route gets deleted
Display stats in introspect.
…olist.

Same was observed in change of address of TOR.
Added support for both.
fix post delete callback.
adding introspect for other ovsdb tables.
OVS fails to remove exported route path.

Fix: while deleting the exported route path use direct reference
instead of find.
…path is gone as it happens when IPAM is gone.
Conflicts:
	src/vnsw/agent/oper/vm_interface.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.