What is the use of the Dead VLAN tag 4095 on quantum openvswitch plugin?
When I run "ovs-vsctl show", sometimes I see some ports with VLAN tag 4095
After doing some search I couldn't find much references on it except the source file "ovs_quantum_agent.py" which looks like this:
A placeholder for dead vlans.
DEAD_VLAN_TAG = "4095" ... ... def port_dead(self, port): '''Once a port has no binding, put it on the "dead vlan".
:param port: a ovs_lib.VifPort object.'''
self.int_br.set_db_attribute("Port", port.port_name, "tag",
DEAD_VLAN_TAG)
self.int_br.add_flow(priority=2, in_port=port.ofport, actions="drop")
The question is why '''Once a port has no binding, put it on the "dead vlan" and not destory it?