'Once a port has no binding, put it on the "dead vlan".
:param port: an ovs_lib.VifPort object.'

def port_dead(self, port, log_errors=True):

    cur_tag = self.int_br.db_get_val('Port', port.port_name, 'tag', log_errors=log_errors)
    if (cur_tag and (cur_tag != constants.DEAD_VLAN_TAG)):
        self.int_br.set_db_attribute('Port', port.port_name, 'tag', constants.DEAD_VLAN_TAG, log_errors=log_errors)
        self.int_br.drop_port(in_port=port.ofport)
