Lines Matching refs:port
593 out, err = utils.execute('/usr/sbin/fcinfo', 'hba-port')
604 # Collect the following hba-port data:
609 # New HBA port entry
1225 # iscsi://<host>[:<port>]/target.<IQN>,lun.<LUN>
1227 # iscsi://<host>[:<port>]/luname.naa.<ID>
1280 # Invoke 'fcinfo remote-port' on all local HBA ports to trigger
1283 utils.execute('/usr/sbin/fcinfo', 'remote-port', '-p', wwpn)
1403 # Strip off the port number (eg. 127.0.0.1:3260)
1485 def _ovs_add_port(self, instance, vif, port):
1495 '--', '--if-exists', 'del-port', ovs_bridge, port,
1496 '--', 'add-port', ovs_bridge, port,
1497 '--', 'set', 'Interface', port,
1506 msg = (_("Failed to add port '%s' with MAC address '%s' to "
1508 % (port, vif['address'], ovs_bridge, reason))
1510 LOG.debug(_('Successfully added port %s with MAC adddress %s') %
1511 (port, vif['address']))
1513 def _ovs_delete_port(self, port, log_warnings=False):
1517 '--', '--if-exists', 'del-port', ovs_bridge, port]
1520 LOG.debug(_('Removed port %s from the OVS bridge %s') %
1521 (port, ovs_bridge))
1523 msg = (_("Unable to remove port '%s' from the OVS "
1524 "bridge '%s': %s") % (port, ovs_bridge, reason))
1561 LOG.error(_('Failed to add port %s connected to network %s '
1580 for port in out.strip().splitlines():
1581 if port.split('/')[0] != instance['name']:
1583 self._ovs_delete_port(port, log_warnings=True)
2007 # The console service sets a SMF instance property for the port
2613 # The console service sets an SMF instance property for the port
2628 out, err = utils.execute('/usr/bin/svcprop', '-p', 'vnc/port',
2630 port = int(out.strip())
2631 return ctype.ConsoleVNC(host=host, port=port,
2635 LOG.exception(_("Unable to read VNC console port from zone VNC "
2932 # add port to ovs bridge
3000 port = ''.join([name, '/', anetname])
3001 self._ovs_delete_port(port)