> On Jun 22, 2016, at 2:30 PM, Guru Shetty <[email protected]> wrote: > > > > On 21 June 2016 at 12:20, Amitabha Biswas <[email protected] > <mailto:[email protected]>> wrote: > This patch allows a OVN hypervisor administator to specify the > type(s) of non-distributed logical port, the hypervisor would > prefer to support. > ... > The operator can set the preference in the using the external-id > 'ovn-compute-types'. The default preference (when the external-id > is not set) is that the hypervisor supports all non-distributed > ports. > > ovs-vsctl set open_vswitch external-ids:ovn-compute-types="vif" > ovs-vsctl set open_vswitch external-ids:ovn-compute-types="gateway_router" > ovs-vsctl set open_vswitch external-ids:ovn-compute-types="vif,gateway_router” > ... > Note: It is possible that operator may choose to ignore the > preference set by the hypervisor, so the ovn-controller does > not verify that the ports it is hosting matches the its preference. > > Signed-off-by: Amitabha Biswas <[email protected] > <mailto:[email protected]>> > > Is the idea that OpenStack OVN plugin will read from the SB database about > which chassis will host the gateway? >
Yes that is the idea. The OpenStack OVN plugin can read the list of chassis that can host a gateway and assign chassis to Logical_Routers in the NB database. Here is the corresponding WIP OpenStack patch: https://review.openstack.org/#/c/332434/ <https://review.openstack.org/#/c/332434/> Thanks Amitabha _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
