[ovs-dev] [PATCH v2] ovs-ctl: Add new option to use short hostname.

Ben Pfaff blp at ovn.org
Mon Oct 8 17:41:11 UTC 2018


On Thu, Oct 04, 2018 at 01:01:09PM -0700, Han Zhou wrote:
> From: Han Zhou <hzhou8 at ebay.com>
> 
> 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 at ebay.com>
> ---
> v1->v2: fix v1, thanks Aaron Conole <aconole at redhat.com> for the finding.

Applied to master, thanks!


More information about the dev mailing list