This is the patchset for making necessary OVN schema changes for enabling DPDK 
ports and userspace tunneling in OVN-Openstack deployment. This patchset 
creates tables to expose relevant Openvswitch table information to Openstack 
Neutron via OVN Southbound and Northbound DBs. This physical host information 
is used by Openstack to start the VM on a chassis with the right parameter set. 
A new table named PN_Sysinfo is created in OVN_Southbound DB and a 
corresponding 
new table named Sysinfo is created in OVN_Northbound. 

This patchset doesn't have any code modification to populate the two tables 
with 
the relevant data. Further patches will follow with that implementation.

The new table 'PN_sysinfo' in OVN_Southbound DB is populated by the controller 
in
each hypervisor. When a controller on a chassis starts, it creates a new row in 
this table with hostname, chassis id, ovn_bridge, ovn_bridge_type and 
port_types.

The new table 'Sys_Info' in OVN_Northbound DB is managed by northd. Northd adds/
deletes/modifies rows in this table based on changes in OVN_Southbound DB's 
PN_Sysinfo table.


 ovn/controller/automake.mk          |  2 ++
 ovn/controller/ovn-controller.8.xml | 11 ++++++++
 ovn/controller/ovn-controller.h     |  4 ++-
 ovn/controller/pn_sysinfo.c         | 46 ++++++++++++++++++++++++++++++++
 ovn/controller/pn_sysinfo.h         | 35 ++++++++++++++++++++++++
 ovn/ovn-nb.ovsschema                |  9 +++++++
 ovn/ovn-nb.xml                      | 47 ++++++++++++++++++++++++++++++++
 ovn/ovn-sb.ovsschema                | 14 ++++++++++
 ovn/ovn-sb.xml                      | 53 +++++++++++++++++++++++++++++++++++++
 9 files changed, 220 insertions(+), 1 deletion(-)
 create mode 100644 ovn/controller/pn_sysinfo.c
 create mode 100644 ovn/controller/pn_sysinfo.h

-- 
2.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to