]> git.proxmox.com Git - mirror_ovs.git/commit
ovs-ctl: Add new option to use short hostname.
authorHan Zhou <hzhou8@ebay.com>
Thu, 4 Oct 2018 20:01:09 +0000 (13:01 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Oct 2018 17:39:58 +0000 (10:39 -0700)
commit298115b94b881146fb82abc4e64d0e4f668d20e4
tree9d983f5b6eb4b5747cc79654a99c4f5ee55dae88
parentca545a787ac03fdfd36fd5bef4e6986624250cf3
ovs-ctl: Add new option to use short hostname.

Current ovs-ctl forces to set full hostname in external-ids. In
some situation users may want to set short hostname. For example,
in OpenStack - OVN integration, Neutron uses the host-id provided
by Nova, which is usually short hostname, to set "requested-chassis"
in OVN. The mismatch in hypervisor's external-ids:hostname setting
causes OVN port binding failure. It can be overridden to short name
but a openvswitch restart using ovs-ctl would again set it to full
hostname. This patch ensures in such use cases --no-full-hostname
can be specified to ovs-ctl to set short hostname instead.

Signed-off-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/ovs-ctl.in