Re: [ovs-dev] [PATCH v5] ovn-controller: Assign zone-id consistently

2016-02-16 Thread Russell Bryant
On 02/15/2016 08:18 PM, ramu wrote: > > Unfortunately, I thought of another issue that complicates this whole > approach. A single interface does not necessarily map to a single > logical port and zone ID. We support sub-ports, initially aimed at > modelling containers in VMs. T

Re: [ovs-dev] [PATCH v5] ovn-controller: Assign zone-id consistently

2016-02-15 Thread ramu
> > > Unfortunately, I thought of another issue that complicates this whole > approach. A single interface does not necessarily map to a single > logical port and zone ID. We support sub-ports, initially aimed at > modelling containers in VMs. That means we need to track N different > zone IDs o

Re: [ovs-dev] [PATCH v5] ovn-controller: Assign zone-id consistently

2016-02-15 Thread Russell Bryant
On 02/15/2016 03:46 PM, Ramu Ramamurthy wrote: > Currently, ovn-controller does not record the > lport->zoneid map, and so, after ovn-controller restart, > zone-ids may get set inconsistently on lports, resulting > in possible hits to already established connections. > > Set zone-id as an external

[ovs-dev] [PATCH v5] ovn-controller: Assign zone-id consistently

2016-02-15 Thread Ramu Ramamurthy
Currently, ovn-controller does not record the lport->zoneid map, and so, after ovn-controller restart, zone-ids may get set inconsistently on lports, resulting in possible hits to already established connections. Set zone-id as an external-id of the interface record, and recover the zone-id from t