./nvmetcli restore rdma.json
+Or to load the fc + no host authentication version do the following
+after you've ensured that the port traddr FC address information in
+fc.json fits your setup:
+
+ ./nvmetcli restore fc.json
+
These files can also be edited directly using your favorite editor.
Testing
class UIPortNode(UINode):
ui_desc_addr = {
- 'adrfam': ('string', 'Address Family (e.g. ipv4)'),
+ 'adrfam': ('string', 'Address Family (e.g. ipv4 or fc)'),
'treq': ('string', 'Transport Security Requirements'),
- 'traddr': ('string', 'Transport Address (e.g. IP Address)'),
+ 'traddr': ('string', 'Transport Address (e.g. IP Address or FC wwnn:wwpn)'),
'trsvcid': ('string', 'Transport Service ID (e.g. IP Port)'),
- 'trtype': ('string', 'Transport Type (e.g. rdma or loop)'),
+ 'trtype': ('string', 'Transport Type (e.g. rdma or loop or fc)'),
}
def __init__(self, parent, cfnode):
class UIReferralNode(UINode):
ui_desc_addr = {
- 'adrfam': ('string', 'Address Family (e.g. ipv4)'),
+ 'adrfam': ('string', 'Address Family (e.g. ipv4 or fc)'),
'treq': ('string', 'Transport Security Requirements'),
- 'traddr': ('string', 'Transport Address (e.g. IP Address)'),
+ 'traddr': ('string', 'Transport Address (e.g. IP Address or FC wwnn:wwpn)'),
'trsvcid': ('string', 'Transport Service ID (e.g. IP Port)'),
- 'trtype': ('string', 'Transport Type (e.g. rdma or loop)'),
+ 'trtype': ('string', 'Transport Type (e.g. rdma or loop or fc)'),
'portid': ('number', 'Port identifier'),
}