[ovs-discuss] Preferable usecase for storing ovs port extra information?

Ben Pfaff blp at ovn.org
Tue May 16 15:13:48 UTC 2017


On Tue, May 16, 2017 at 12:12:51PM +0300, Nir Magnezi wrote:
> Hi All,
> 
> Context:
> In OpenStack Neutron, we have a script named ovs_cleanup that basically
> deletes all ovs ports in the boot process.
> For some use cases (as mentioned here
> https://review.openstack.org/#/c/460524/ ]), we would like to be able to
> skip the cleanup for specific ports.
> 
> From what I currently know, there are two possible ways do to that:
> 1. Use 'other_config', by appending: -- set Interface myport
> other_config:skip_cleanup=true"
> 
> 2. Use 'external_ids. by appending ': -- set Interface myport
> external_ids:skip_cleanup=true"
> 
> In the patch I already mentioned, I was told that: using external_ids is
> safer than other_config as it won't be interpreted by the switch (with the
> reference http://docs.openvswitch.org/en/latest/topics/integration/ )
> 
> Will usage of 'external_ids' be a better practice to achieve that goal?
> I would really appreciate your feedback on this.

Yes, this reasoning is correct.


More information about the discuss mailing list