]> git.proxmox.com Git - ovs.git/commit
ovn: Add hostname to Chassis.
authorRussell Bryant <russell@ovn.org>
Tue, 22 Mar 2016 02:29:38 +0000 (22:29 -0400)
committerRussell Bryant <russell@ovn.org>
Wed, 23 Mar 2016 19:36:30 +0000 (15:36 -0400)
commit2229f3ecc136559214fd8926819e2c99eed4f710
treef804c8a316589824a8c59ce0275501aa1967ab15
parenta96838a6668dd3aa269cf4d1ba5f3da60eab708a
ovn: Add hostname to Chassis.

We currently use the system-id from the Open_vSwitch schema on each host
to populate the unique name field of a Chassis in OVN_Southbound.  On
most systems, this is a UUID.  It would be very convenient to also have
the hostname available as that will allow people to more quickly
identify which host a Chassis record is associated with in most cases.

This is also useful for correlating an OVN Chassis with the knowledge of
hosts that exists in other systems (such as OpenStack).

Also add the hostname of each chassis to the output of "ovn-sbctl show".

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
ovn/controller/chassis.c
ovn/ovn-sb.ovsschema
ovn/ovn-sb.xml
ovn/utilities/ovn-sbctl.c