Add NVME to gatherfacts (#53007)
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b4
.
* Updtes
This commit is contained in:
parent
d12e3580ea
commit
1e776c34a2
1 changed files with 24 additions and 0 deletions
|
@ -188,6 +188,30 @@ class NetAppONTAPGatherFacts(object):
|
|||
field='interface-name',
|
||||
query={'max-records': '1024'}
|
||||
)
|
||||
self.netapp_info['nvme_info'] = self.get_generic_get_iter(
|
||||
'nvme-get-iter',
|
||||
attribute='nvme-target-service-info',
|
||||
field='vserver',
|
||||
query={'max-records': '1024'}
|
||||
)
|
||||
self.netapp_info['nvme_interface_info'] = self.get_generic_get_iter(
|
||||
'nvme-interface-get-iter',
|
||||
attribute='nvme-interface-info',
|
||||
field='vserver',
|
||||
query={'max-records': '1024'}
|
||||
)
|
||||
self.netapp_info['nvme_subsystem_info'] = self.get_generic_get_iter(
|
||||
'nvme-subsystem-get-iter',
|
||||
attribute='nvme-subsystem-info',
|
||||
field='subsystem',
|
||||
query={'max-records': '1024'}
|
||||
)
|
||||
self.netapp_info['nvme_namespace_info'] = self.get_generic_get_iter(
|
||||
'nvme-namespace-get-iter',
|
||||
attribute='nvme-namespace-info',
|
||||
field='path',
|
||||
query={'max-records': '1024'}
|
||||
)
|
||||
self.netapp_info['net_port_info'] = self.get_generic_get_iter(
|
||||
'net-port-get-iter',
|
||||
attribute='net-port-info',
|
||||
|
|
Loading…
Reference in a new issue