'Unplug the sub port from the bridge.
Method unplugs in single OVSDB transaction both endpoints of patch
ports that represents the subport.
:param bridge: bridge that has peer side of patch port for this
subport.'

def unplug(self, bridge):

    ovsdb = self.bridge.ovsdb
    with ovsdb.transaction() as txn:
        txn.add(ovsdb.del_port(self.patch_port_trunk_name, self.bridge.br_name))
        txn.add(ovsdb.del_port(self.patch_port_int_name, bridge.br_name))
