This group is locked. No changes can be made to the group while it is locked.
Re: api call flow
Hi Hugo,toggle quoted message Show quoted text
The neutron NB APIs that you see here :
are almost transparently passed to the Southbound.
For the specific question of network type, it is in the Network NB-API and look for the " provider_network_type"
(Neutron supports GRE, VXLAN, VLAN & internal).
We can discuss more on this over IRC & try and reuse most of the components for CS as well.
On 11/27/13, 6:57 AM, Hugo Trippaers wrote:
Ok. So it is pretty tightly coupled with the Neutron way of working right? So we don’t have generic apis yet that can be used by other orchestration platforms? Do we have some documentation online on which networks type to use etc, like a poor mans guide to Neutron southbound? So i guess i have to get into the neutron way of working to see if that is applicable to the way i’m doing networking now in CS. :-) Cheers, Hugo On 27 nov. 2013, at 15:17, Madhu Venguopal <mavenugo@...> wrote:Hi Hugo, Since OpenDaylight has atleast 3 Neutron based south-bounds (OVSDB, OpenDove & VTN), we centralized the Neutron NB-API on the controller project. And each of the above 3 south-bound plugin provides common services for handling Network, Subnet and Port events. You can see all of these under the controller projects : -> networkconfig.neutron -> networkconfig.neutron.implementation -> networkconfig.neutron.northbound On the OVSDB side, Please take a look @ -> ovsdb.neutron - NetworkHandler (handles Network creation events) - PortHandler (VM / Port creation events). Now, which hypervisors are part of the tenant network is something that can derive out of the above 2 events and the centralized cache maintained in the networkconfig.neutron plugin. BTW, I dont like to maintain caches in OVSDB unless it is strictly necessary (fearing the caches going out-of-sync and chasing those problems are nightmare). So, I depend on events and dont mind CPU cycles to form the picture every time an event happens. So, we dont have a DB, that will give the info on all the hypervisors that are part of a tenant network. All you get is all the Ports belong to a Network. From the Neutron Port and the OVSDB Port database, we can derive the exact set of hypervisors / nodes that make a given tenant network. Thanks, Madhu On 11/27/13, 6:08 AM, Hugo Trippaers wrote:Hey guys, Do we have a document describing the call flow between Neutron and ODL? Would like to use that as a basis to put the same functionality in CloudStack. I’ve already got some of the skeleton work done for the plugin, but need to start filling in the blanks. The main thing that i can’t seem to figure out is how neutron tells ODL which hypervisors are part of that tenants network and how neutron creates the OVS nodes. Cheers, Hugo _______________________________________________ ovsdb-dev mailing list ovsdb-dev@... https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev