Comment 27 for bug 1494281

Revision history for this message
Thomas Herve (therve) wrote :

I believe the problem has been surfaced here: https://review.openstack.org/#/c/153946/ where the int() call has been added. It certainly doesn't take into account the fact that segmentation_id can be None.

But, it seems segmentation_id has been stored as the 'None' string' since forever in the ovs db. AFAIK there is no way to express None when we talk to the ovs db, so we should omit the key in port_bound when setting the other_config attribute. It means handling the fact it's not present when retrieving it in _restore_local_vlan_map.

Thoughts?