quit""" % (net_type,
nid, hostaddr, port )
self.run(cmds)
- elif net_type in ('iib','vib') and not config.lctl_dump:
+ elif net_type in ('iib',) and not config.lctl_dump:
cmds = """
network %s
add_peer %s
quit""" % (net_type,
nid )
self.run(cmds)
+ elif net_type in ('vib',) and not config.lctl_dump:
+ cmds = """
+ network %s
+ add_peer %s %s
+ quit""" % (net_type,
+ nid, hostaddr )
+ self.run(cmds)
def connect(self, srv):
self.add_uuid(srv.net_type, srv.nid_uuid, srv.nid)
--node node_name
--nid nid
--cluster_id
- --nettype tcp|elan|gm|openib|iib
+ --nettype tcp|elan|gm|openib|iib|vib
--hostaddr ip[/netmask]
--port port
--tcpbuf size
('subsystem', "Specify which Lustre subsystems have debug output recorded in the log", PARAM),
# network
- ('nettype', "Specify the network type. This can be tcp/elan/gm/openib/iib.", PARAM),
+ ('nettype', "Specify the network type. This can be tcp/elan/gm/openib/iib/vib.", PARAM),
('nid', "Give the network ID, e.g ElanID/IP Address as used by portals.", PARAM),
('port', "Optional argument to specify the TCP port number.", PARAM, DEFAULT_PORT),
('hostaddr', "Optional argument to specify the host address.", PARAMLIST),