Add break in iteration over vlan tags for a given ovsdbTerminationPoint
authorFlavio Fernandes <ffernand@redhat.com>
Wed, 1 Apr 2015 22:03:41 +0000 (18:03 -0400)
committerFlavio Fernandes <ffernand@redhat.com>
Wed, 1 Apr 2015 22:03:41 +0000 (18:03 -0400)
commitcdd54636cba2ee7c931c23ff342046891a049c7f
tree43b1dac92a385ef0d79cc3a433c6feee5637d564
parentc9147d61937dc35305156beee57f2256e84b4372
Add break in iteration over vlan tags for a given ovsdbTerminationPoint

Since we expect no more than a single vlan tag for a given termination point,
there is no need to call setVlanTag multiple times on termination point builder.
Added a TODO to mark the fact that the iteration/builder will need to be enhanced
if more than a single vlan tag support is needed.

Change-Id: I1ff45ccea8fb2b061157ca7b9af0ad2e072abdcb
Ref: https://gist.github.com/1e07ddc7e663710c2ac7
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>