def ui_command_delete(self, ip_address, ip_port):
    '\n        Deletes the Network Portal with specified I{ip_address} and I{ip_port}.\n\n        SEE ALSO\n        ========\n        B{create}\n        '
    self.assert_root()
    portal = NetworkPortal(self.tpg, self._canonicalize_ip(ip_address), ip_port, mode='lookup')
    portal.delete()
    self.shell.log.info(('Deleted network portal %s:%s' % (ip_address, ip_port)))
    self.refresh()
Deletes the Network Portal with specified I{ip_address} and I{ip_port}.

SEE ALSO
========
B{create}
def ui_command_delete(self, ip_address, ip_port):
    '\n        Deletes the Network Portal with specified I{ip_address} and I{ip_port}.\n\n        SEE ALSO\n        ========\n        B{create}\n        '
    self.assert_root()
    portal = NetworkPortal(self.tpg, self._canonicalize_ip(ip_address), ip_port, mode='lookup')
    portal.delete()
    self.shell.log.info(('Deleted network portal %s:%s' % (ip_address, ip_port)))
    self.refresh()