diff options
-rw-r--r-- | qtip/ansible_library/__init__.py | 0 | ||||
-rw-r--r-- | qtip/ansible_library/modules/__init__.py | 0 | ||||
-rw-r--r-- | qtip/ansible_library/modules/fuel.py | 124 | ||||
-rw-r--r-- | qtip/ansible_library/plugins/__init__.py | 0 | ||||
-rw-r--r-- | qtip/ansible_library/plugins/action/__init__.py | 0 | ||||
-rw-r--r-- | qtip/ansible_library/plugins/action/collect.py | 45 | ||||
-rw-r--r-- | qtip/ansible_library/plugins/filter/__init__.py | 0 | ||||
-rw-r--r-- | qtip/ansible_library/plugins/filter/format.py | 19 | ||||
-rw-r--r-- | qtip/collector/parser/regex.yaml | 8 | ||||
-rw-r--r-- | tests/data/external/fuel/fuel-node.json | 10229 | ||||
-rw-r--r-- | tests/integration/ansible.cfg | 443 | ||||
-rw-r--r-- | tests/integration/compute.yaml | 32 | ||||
-rw-r--r-- | tests/integration/hosts | 6 | ||||
-rw-r--r-- | tests/integration/reports/inxi-system-info | 36 | ||||
-rw-r--r-- | tests/integration/tasks/inxi.yaml | 30 | ||||
-rw-r--r-- | tests/integration/templates/inxi-system-info.j2 | 16 | ||||
-rw-r--r-- | tests/unit/ansible_library/modules/fuel_test.py | 60 | ||||
-rw-r--r-- | tests/unit/ansible_library/plugins/action/collect_test.py | 36 |
18 files changed, 11080 insertions, 4 deletions
diff --git a/qtip/ansible_library/__init__.py b/qtip/ansible_library/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/qtip/ansible_library/__init__.py diff --git a/qtip/ansible_library/modules/__init__.py b/qtip/ansible_library/modules/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/qtip/ansible_library/modules/__init__.py diff --git a/qtip/ansible_library/modules/fuel.py b/qtip/ansible_library/modules/fuel.py new file mode 100644 index 00000000..ea2d78b9 --- /dev/null +++ b/qtip/ansible_library/modules/fuel.py @@ -0,0 +1,124 @@ +#!/usr/bin/python + +############################################################### +# Copyright (c) 2017 ZTE Corporation +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +from collections import defaultdict +import json + +from ansible.module_utils.basic import AnsibleModule + + +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: fuel +short_description: collecting facts from fuel environments +description: + - Use this module to create a dynamic inventory from fuel master. +version_added: "2.2" +author: "Yujun Zhang (@yujunz)" +options: +notes: +requirements: + - Host 'fuel-master' is in ~/.ssh/config +''' + +RETURN = ''' +ansible_facts: + description: facts collected for ansible + returned: success + type: dictionary + contains: + hosts: + description: host grouped by hostname, cluster, role and manufacture + type: dict + hosts_meta: + description: hosts meta data indexed by hostname + type: dict +''' + +EXAMPLES = ''' +--- +- hosts: fuel-master + tasks: + - name: collect facts of fuel hosts + fuel: + - debug: var=hostvars + - name: add compute node to ansible inventory + add_host: + name: "{{ hosts_meta[item]['ip'] }}" + groups: fuel-compute + ansible_user: root + ansible_ssh_common_args: '-o StrictHostKeyChecking=No -o ProxyJump=fuel-master' + with_items: "{{ hosts.compute }}" +- hosts: fuel-compute + tasks: + - name: check ssh connection + ping: +''' + + +def generate_inventory(nodes): + """Generate ansible inventory from node list in json format + + Modified from https://github.com/martineg/ansible-fuel-inventory/blob/master/fuel.py + """ + hosts = defaultdict(list) + hosts_meta = {} + + for node in nodes: + # skip deleting, offline, deploying and discovering/unprovisioned nodes + if node['pending_deletion'] or (not node['online']) \ + or node['status'] == 'deploying' or node['status'] == 'discover': + continue + + hostname = node['hostname'] + cluster_id = node['cluster'] + hw_vendor = node['meta']['system']['manufacturer'].lower() + + [hosts[role.strip()].append(hostname) for role in node['roles'].split(",")] + hosts["cluster-{0}".format(cluster_id)].append(hostname) + hosts["hw-{0}-servers".format(hw_vendor)].append(hostname) + + node_meta = { + 'name': node['name'], + 'online': node['online'], + 'os_platform': node['os_platform'], + 'status': node['status'], + 'ip': node['ip'], + 'mac': node['mac'], + 'cluster': cluster_id, + 'ansible_ssh_host': node['ip'] + } + hosts["node-{}".format(node['id'])].append(hostname) + hosts_meta[hostname] = node_meta + + return {'hosts': hosts, 'hosts_meta': hosts_meta} + + +def main(): + module = AnsibleModule(argument_spec=dict()) + + cmd = [module.get_bin_path('fuel', True), 'node', '--json'] + (rc, out, err) = module.run_command(cmd) + + if rc is not None and rc != 0: + return module.fail_json(msg=err) + + nodes = json.loads(out) + + module.exit_json(changed=False, ansible_facts=generate_inventory(nodes)) + + +if __name__ == '__main__': + main() diff --git a/qtip/ansible_library/plugins/__init__.py b/qtip/ansible_library/plugins/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/qtip/ansible_library/plugins/__init__.py diff --git a/qtip/ansible_library/plugins/action/__init__.py b/qtip/ansible_library/plugins/action/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/qtip/ansible_library/plugins/action/__init__.py diff --git a/qtip/ansible_library/plugins/action/collect.py b/qtip/ansible_library/plugins/action/collect.py new file mode 100644 index 00000000..88ad0e35 --- /dev/null +++ b/qtip/ansible_library/plugins/action/collect.py @@ -0,0 +1,45 @@ +#!/usr/bin/python + +############################################################### +# Copyright (c) 2017 ZTE Corporation +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +from collections import defaultdict +import re + +from ansible.plugins.action import ActionBase + + +class ActionModule(ActionBase): + + def run(self, tmp=None, task_vars=None): + result = super(ActionModule, self).run(tmp, task_vars) + + if result.get('skipped', False): + return result + + string = self._task.args.get('string') + patterns = self._task.args.get('patterns') + + return collect(patterns, string) + + +def collect(patterns, string): + """collect all named subgroups of the match into a list keyed by subgroup name + """ + captured = defaultdict(list) + + if not isinstance(patterns, list): + patterns = [patterns] + + for p in patterns: + for match_obj in re.finditer(p, string, re.MULTILINE): + for (key, value) in match_obj.groupdict().items(): + captured[key].append(value) + + return captured diff --git a/qtip/ansible_library/plugins/filter/__init__.py b/qtip/ansible_library/plugins/filter/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/qtip/ansible_library/plugins/filter/__init__.py diff --git a/qtip/ansible_library/plugins/filter/format.py b/qtip/ansible_library/plugins/filter/format.py new file mode 100644 index 00000000..db844906 --- /dev/null +++ b/qtip/ansible_library/plugins/filter/format.py @@ -0,0 +1,19 @@ +############################################################### +# Copyright (c) 2017 ZTE Corporation +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +from qtip.reporter import filters + + +class FilterModule(object): + + @staticmethod + def filters(): + return { + 'justify': filters.justify + } diff --git a/qtip/collector/parser/regex.yaml b/qtip/collector/parser/regex.yaml index 94271136..e1512855 100644 --- a/qtip/collector/parser/regex.yaml +++ b/qtip/collector/parser/regex.yaml @@ -46,19 +46,19 @@ ssl: - filename: RSA_dump grep: - |- - ^rsa\s+512\sbits\s.+ + ^rsa\s+512\sbits\s.+\s+ ?(?P<rsa_sign_512>\d+\.\d)\s+ ?(?P<rsa_verify_512>\d+\.\d)$ - |- - ^rsa\s+1024\sbits\s.+ + ^rsa\s+1024\sbits\s.+\s+ ?(?P<rsa_sign_1024>\d+\.\d)\s+ ?(?P<rsa_verify_1024>\d+\.\d)$ - |- - ^rsa\s+2048\sbits\s.+ + ^rsa\s+2048\sbits\s.+\s+ ?(?P<rsa_sign_2048>\d+\.\d)\s+ ?(?P<rsa_verify_2048>\d+\.\d)$ - |- - ^rsa\s+4096\sbits\s.+ + ^rsa\s+4096\sbits\s.+\s+ ?(?P<rsa_sign_4096>\d+\.\d)\s+ ?(?P<rsa_verify_4096>\d+\.\d)$ - filename: AES-128-CBC_dump diff --git a/tests/data/external/fuel/fuel-node.json b/tests/data/external/fuel/fuel-node.json new file mode 100644 index 00000000..82e25d24 --- /dev/null +++ b/tests/data/external/fuel/fuel-node.json @@ -0,0 +1,10229 @@ +[ + { + "error_type": null, + "ip": "10.20.11.18", + "labels": {}, + "pending_addition": false, + "cluster": null, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:1f", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:20", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:15", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:16", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "ip": "10.20.11.18", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:71:bb", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "netmask": "255.255.255.0", + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:71:bc", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af9c1", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0ETFV8B", + "disk/by-id/scsi-350000397386af9c1" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386afaa9", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0F0FV8B", + "disk/by-id/scsi-350000397386afaa9" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A40171B8-744A-0000-0010-000048ADD057", + "family": "Blade", + "fqdn": "bootstrap.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "runtime_uuid": "902b5c80-438c-4979-850f-b1adee9d42de", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 10, + "hostname": "node-10", + "network_data": [], + "online": true, + "progress": 0, + "pending_roles": "", + "status": "discover", + "mac": "74:4a:a4:01:71:bb", + "manufacturer": "ZTE", + "name": "Untitled (71:bb)", + "roles": "", + "fqdn": "node-10.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": null + }, + { + "error_type": null, + "ip": "10.20.11.16", + "labels": {}, + "pending_addition": false, + "cluster": null, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:8c:93", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:8c:94", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:8c:97", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:8c:98", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "ip": "10.20.11.16", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:63:61", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "netmask": "255.255.255.0", + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "down", + "mac": "74:4a:a4:01:63:62", + "max_speed": 1000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af1fd", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CBFV8B", + "disk/by-id/scsi-350000397386af1fd" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386afcb1", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0F9FV8B", + "disk/by-id/scsi-350000397386afcb1" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A401635E-744A-0000-0010-0000304CB357", + "family": "Blade", + "fqdn": "bootstrap.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "runtime_uuid": "902b5c80-438c-4979-850f-b1adee9d42de", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 18, + "hostname": "node-18", + "network_data": [], + "online": true, + "progress": 0, + "pending_roles": "", + "status": "discover", + "mac": "74:4a:a4:01:63:61", + "manufacturer": "ZTE", + "name": "Untitled (63:61)", + "roles": "", + "fqdn": "node-18.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": null + }, + { + "error_type": null, + "ip": "10.20.11.11", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:1d", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:88:1e", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:1b", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:1c", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:01:73:50", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:73:51", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af825", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0E7FV8B", + "disk/by-id/scsi-350000397386af825" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386af2bd", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CVFV8B", + "disk/by-id/scsi-350000397386af2bd" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A401734D-744A-0000-0010-0000201FD257", + "family": "Blade", + "fqdn": "node-24.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 24, + "hostname": "node-24", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.3/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.1/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.12/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.11/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:01:73:50", + "manufacturer": "ZTE", + "name": "Untitled (73:50)", + "roles": "controller, mongo", + "fqdn": "node-24.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + }, + { + "error_type": null, + "ip": "10.20.11.16", + "labels": {}, + "pending_addition": false, + "cluster": null, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:07", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:08", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:87:fb", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:87:fc", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "ip": "10.20.11.16", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:80:92", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "netmask": "255.255.255.0", + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "down", + "mac": "74:4a:a4:01:80:93", + "max_speed": 1000, + "current_speed": null, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386a9c2d", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A018FV8B", + "disk/by-id/scsi-350000397386a9c2d" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386a9cc1", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A024FV8B", + "disk/by-id/scsi-350000397386a9cc1" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A401808F-744A-0000-0010-0000BCA7F857", + "family": "Blade", + "fqdn": "bootstrap.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "runtime_uuid": "902b5c80-438c-4979-850f-b1adee9d42de", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 16, + "hostname": "node-16", + "network_data": [], + "online": false, + "progress": 0, + "pending_roles": "", + "status": "discover", + "mac": "74:4a:a4:01:80:92", + "manufacturer": "ZTE", + "name": "Untitled (80:92)", + "roles": "", + "fqdn": "node-16.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": null + }, + { + "error_type": null, + "ip": "10.20.11.15", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:03", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:88:04", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:05", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:06", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:01:61:ae", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:61:af", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386a9c41", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A01DFV8B", + "disk/by-id/scsi-350000397386a9c41" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386a9bf5", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A00XFV8B", + "disk/by-id/scsi-350000397386a9bf5" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A40161AB-744A-0000-0010-000018C4F857", + "family": "Blade", + "fqdn": "node-26.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 26, + "hostname": "node-26", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.4/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.2/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.13/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.15/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:01:61:ae", + "manufacturer": "ZTE", + "name": "Untitled (61:ae)", + "roles": "ceph-osd, compute", + "fqdn": "node-26.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + }, + { + "error_type": null, + "ip": "10.20.11.10", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:88:09", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:88:0a", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:11", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:88:12", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:01:71:61", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:71:62", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386afb49", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0F5FV8B", + "disk/by-id/scsi-350000397386afb49" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386af70d", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0DWFV8B", + "disk/by-id/scsi-350000397386af70d" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A401715E-744A-0000-0010-00003C5FD057", + "family": "Blade", + "fqdn": "node-23.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 23, + "hostname": "node-23", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.7/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.5/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.16/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.10/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:01:71:61", + "manufacturer": "ZTE", + "name": "Untitled (71:61)", + "roles": "controller", + "fqdn": "node-23.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + }, + { + "error_type": null, + "ip": "10.20.11.14", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:86:bd", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:86:be", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:86:17", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:86:18", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:01:74:63", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:74:64", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af241", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CKFV8B", + "disk/by-id/scsi-350000397386af241" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386af1c9", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0C9FV8B", + "disk/by-id/scsi-350000397386af1c9" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A4017460-744A-0000-0010-00008414D357", + "family": "Blade", + "fqdn": "node-28.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 28, + "hostname": "node-28", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.6/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.4/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.15/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.14/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:01:74:63", + "manufacturer": "ZTE", + "name": "Untitled (74:63)", + "roles": "ceph-osd, compute", + "fqdn": "node-28.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + }, + { + "error_type": null, + "ip": "10.20.11.12", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:87:51", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:87:52", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:87:4d", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:87:4e", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:00:d8:76", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:00:d8:77", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af221", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CHFV8B", + "disk/by-id/scsi-350000397386af221" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386af3c5", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0D8FV8B", + "disk/by-id/scsi-350000397386af3c5" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A400D873-744A-0000-0010-0000506D5457", + "family": "Blade", + "fqdn": "node-25.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 25, + "hostname": "node-25", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.5/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.3/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.14/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.12/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:00:d8:76", + "manufacturer": "ZTE", + "name": "Untitled (d8:76)", + "roles": "controller", + "fqdn": "node-25.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + }, + { + "error_type": null, + "ip": "10.20.11.13", + "labels": {}, + "pending_addition": false, + "cluster": 4, + "meta": { + "pci_devices": {}, + "interfaces": [ + { + "name": "ens1f0", + "driver": "ixgbe", + "state": "down", + "mac": "74:4a:a4:01:86:b5", + "max_speed": 10000, + "current_speed": null, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.0" + }, + { + "name": "ens1f1", + "driver": "ixgbe", + "state": "forwarding", + "mac": "74:4a:a4:01:86:b6", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 1, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:81:00.1" + }, + { + "name": "ens2f0", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:86:91", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.0" + }, + { + "name": "ens2f1", + "driver": "ixgbe", + "state": "up", + "mac": "74:4a:a4:01:86:92", + "max_speed": 10000, + "current_speed": 10000, + "interface_properties": { + "numa_node": 0, + "max_queues": 63, + "pci_id": "8086:10f8", + "sriov": { + "available": true, + "sriov_totalvfs": 63, + "pci_id": "8086:10ed" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "hw-tc-offload", + "sub": [] + }, + { + "state": null, + "name": "l2-fwd-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "ntuple-filters", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "large-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:06:00.1" + }, + { + "name": "ens4f0", + "driver": "igb", + "state": "forwarding", + "mac": "74:4a:a4:01:82:c0", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": true, + "bus_info": "0000:01:00.0" + }, + { + "name": "ens4f1", + "driver": "igb", + "state": "up", + "mac": "74:4a:a4:01:82:c1", + "max_speed": 1000, + "current_speed": 1000, + "interface_properties": { + "numa_node": 0, + "max_queues": 8, + "pci_id": "8086:1523", + "sriov": { + "available": true, + "sriov_totalvfs": 7, + "pci_id": "8086:1520" + } + }, + "offloading_modes": [ + { + "state": null, + "name": "rx-all", + "sub": [] + }, + { + "state": null, + "name": "tx-nocache-copy", + "sub": [] + }, + { + "state": null, + "name": "receive-hashing", + "sub": [] + }, + { + "state": null, + "name": "tx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "rx-vlan-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-receive-offload", + "sub": [] + }, + { + "state": null, + "name": "generic-segmentation-offload", + "sub": [] + }, + { + "state": null, + "name": "tcp-segmentation-offload", + "sub": [ + { + "state": null, + "name": "tx-tcp6-segmentation", + "sub": [] + }, + { + "state": null, + "name": "tx-tcp-segmentation", + "sub": [] + } + ] + }, + { + "state": null, + "name": "scatter-gather", + "sub": [ + { + "state": null, + "name": "tx-scatter-gather", + "sub": [] + } + ] + }, + { + "state": null, + "name": "tx-checksumming", + "sub": [ + { + "state": null, + "name": "tx-checksum-sctp", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv6", + "sub": [] + }, + { + "state": null, + "name": "tx-checksum-ipv4", + "sub": [] + } + ] + }, + { + "state": null, + "name": "rx-checksumming", + "sub": [] + } + ], + "pxe": false, + "bus_info": "0000:01:00.1" + } + ], + "disks": [ + { + "paths": null, + "name": "sda", + "extra": [ + "disk/by-id/wwn-0x50000397386af2ed", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CWFV8B", + "disk/by-id/scsi-350000397386af2ed" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy0-lun-0", + "size": 600127266816 + }, + { + "paths": null, + "name": "sdb", + "extra": [ + "disk/by-id/wwn-0x50000397386af21d", + "disk/by-id/scsi-STOSHIBA_AL14SEB060N_86U0A0CGFV8B", + "disk/by-id/scsi-350000397386af21d" + ], + "opt_io": 512, + "removable": "0", + "model": "AL14SEB060N", + "disk": "disk/by-path/pci-0000:04:00.0-sas-phy1-lun-0", + "size": 600127266816 + } + ], + "system": { + "product": "EC600G3", + "uuid": "A40182BD-744A-0000-0010-0000283CE957", + "family": "Blade", + "fqdn": "node-27.zte.com.cn", + "version": "N/A", + "serial": "123456789", + "manufacturer": "ZTE" + }, + "numa_topology": { + "numa_nodes": [ + { + "memory": 67159945216, + "pcidevs": [ + "0000:01:00.0", + "0000:01:00.1", + "0000:04:00.0", + "0000:06:00.0", + "0000:06:00.1", + "0000:0a:00.0", + "0000:00:1f.2" + ], + "cpus": [ + 0, + 20, + 1, + 21, + 2, + 22, + 3, + 23, + 4, + 24, + 5, + 25, + 6, + 26, + 7, + 27, + 8, + 28, + 9, + 29 + ], + "id": 0 + }, + { + "memory": 67607306240, + "pcidevs": [ + "0000:81:00.0", + "0000:81:00.1" + ], + "cpus": [ + 10, + 30, + 11, + 31, + 12, + 32, + 13, + 33, + 14, + 34, + 15, + 35, + 16, + 36, + 17, + 37, + 18, + 38, + 19, + 39 + ], + "id": 1 + } + ], + "distances": [ + [ + "1.000000", + "2.100000" + ], + [ + "2.100000", + "1.000000" + ] + ], + "supported_hugepages": [ + 2048, + 1048576 + ] + }, + "memory": { + "slots": 16, + "total": 137438953472, + "maximum_capacity": 549755813888, + "devices": [ + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + }, + { + "frequency": 2133, + "type": "DDR4", + "size": 17179869184 + } + ] + }, + "cpu": { + "real": 2, + "total": 40, + "spec": [ + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + }, + { + "model": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "frequency": 3000 + } + ] + } + }, + "os_platform": "ubuntu", + "id": 27, + "hostname": "node-27", + "network_data": [ + { + "cidr": null, + "vlan": null, + "name": "private", + "dev": "ens1f1" + }, + { + "name": "management", + "ip": "192.168.111.8/24", + "vlan": 211, + "dev": "ens2f0", + "netmask": "255.255.255.0", + "cidr": "192.168.111.0/24", + "brd": "192.168.111.255", + "gateway": null + }, + { + "name": "storage", + "ip": "192.168.112.6/24", + "vlan": 212, + "dev": "ens2f1", + "netmask": "255.255.255.0", + "cidr": "192.168.112.0/24", + "brd": "192.168.112.255", + "gateway": null + }, + { + "name": "public", + "ip": "172.110.0.17/24", + "vlan": 213, + "dev": "ens4f1", + "netmask": "255.255.255.0", + "cidr": "172.110.0.0/24", + "brd": "172.110.0.255", + "gateway": "172.110.0.1" + }, + { + "name": "fuelweb_admin", + "ip": "10.20.11.13/24", + "vlan": null, + "dev": "ens4f0", + "netmask": "255.255.255.0", + "cidr": "10.20.11.0/24", + "brd": "10.20.11.255", + "gateway": "10.20.11.2" + } + ], + "online": true, + "progress": 100, + "pending_roles": "", + "status": "ready", + "mac": "74:4a:a4:01:82:c0", + "manufacturer": "ZTE", + "name": "Untitled (82:c0)", + "roles": "ceph-osd, compute", + "fqdn": "node-27.zte.com.cn", + "platform_name": "EC600G3", + "kernel_params": null, + "pending_deletion": false, + "group_id": 4 + } +] diff --git a/tests/integration/ansible.cfg b/tests/integration/ansible.cfg new file mode 100644 index 00000000..85966e13 --- /dev/null +++ b/tests/integration/ansible.cfg @@ -0,0 +1,443 @@ +# config file for ansible -- https://ansible.com/ +# =============================================== + +# nearly all parameters can be overridden in ansible-playbook +# or with command line flags. ansible will read ANSIBLE_CONFIG, +# ansible.cfg in the current working directory, .ansible.cfg in +# the home directory or /etc/ansible/ansible.cfg, whichever it +# finds first + +[defaults] + +# some basic default values... + +inventory = ./hosts +library = ../../qtip/ansible_library/ +#module_utils = /usr/share/my_module_utils/ +#remote_tmp = ~/.ansible/tmp +#local_tmp = ~/.ansible/tmp +#forks = 5 +#poll_interval = 15 +#sudo_user = root +#ask_sudo_pass = True +#ask_pass = True +#transport = smart +#remote_port = 22 +#module_lang = C +#module_set_locale = False + +# plays will gather facts by default, which contain information about +# the remote system. +# +# smart - gather by default, but don't regather if already gathered +# implicit - gather by default, turn off with gather_facts: False +# explicit - do not gather by default, must say gather_facts: True +#gathering = implicit + +# This only affects the gathering done by a play's gather_facts directive, +# by default gathering retrieves all facts subsets +# all - gather all subsets +# network - gather min and network facts +# hardware - gather hardware facts (longest facts to retrieve) +# virtual - gather min and virtual facts +# facter - import facts from facter +# ohai - import facts from ohai +# You can combine them using comma (ex: network,virtual) +# You can negate them using ! (ex: !hardware,!facter,!ohai) +# A minimal set of facts is always gathered. +#gather_subset = all + +# some hardware related facts are collected +# with a maximum timeout of 10 seconds. This +# option lets you increase or decrease that +# timeout to something more suitable for the +# environment. +# gather_timeout = 10 + +# additional paths to search for roles in, colon separated +#roles_path = /etc/ansible/roles + +# uncomment this to disable SSH key host checking +#host_key_checking = False + +# change the default callback +#stdout_callback = skippy +# enable additional callbacks +#callback_whitelist = timer, mail + +# Determine whether includes in tasks and handlers are "static" by +# default. As of 2.0, includes are dynamic by default. Setting these +# values to True will make includes behave more like they did in the +# 1.x versions. +#task_includes_static = True +#handler_includes_static = True + +# Controls if a missing handler for a notification event is an error or a warning +#error_on_missing_handler = True + +# change this for alternative sudo implementations +#sudo_exe = sudo + +# What flags to pass to sudo +# WARNING: leaving out the defaults might create unexpected behaviours +#sudo_flags = -H -S -n + +# SSH timeout +#timeout = 10 + +# default user to use for playbooks if user is not specified +# (/usr/bin/ansible will use current user as default) +#remote_user = root + +# logging is off by default unless this path is defined +# if so defined, consider logrotate +#log_path = /var/log/ansible.log + +# default module name for /usr/bin/ansible +#module_name = command + +# use this shell for commands executed under sudo +# you may need to change this to bin/bash in rare instances +# if sudo is constrained +#executable = /bin/sh + +# if inventory variables overlap, does the higher precedence one win +# or are hash values merged together? The default is 'replace' but +# this can also be set to 'merge'. +#hash_behaviour = replace + +# by default, variables from roles will be visible in the global variable +# scope. To prevent this, the following option can be enabled, and only +# tasks and handlers within the role will see the variables there +#private_role_vars = yes + +# list any Jinja2 extensions to enable here: +#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n + +# if set, always use this private key file for authentication, same as +# if passing --private-key to ansible or ansible-playbook +#private_key_file = /path/to/file + +# If set, configures the path to the Vault password file as an alternative to +# specifying --vault-password-file on the command line. +#vault_password_file = /path/to/vault_password_file + +# format of string {{ ansible_managed }} available within Jinja2 +# templates indicates to users editing templates files will be replaced. +# replacing {file}, {host} and {uid} and strftime codes with proper values. +#ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} +# {file}, {host}, {uid}, and the timestamp can all interfere with idempotence +# in some situations so the default is a static string: +#ansible_managed = Ansible managed + +# by default, ansible-playbook will display "Skipping [host]" if it determines a task +# should not be run on a host. Set this to "False" if you don't want to see these "Skipping" +# messages. NOTE: the task header will still be shown regardless of whether or not the +# task is skipped. +#display_skipped_hosts = True + +# by default, if a task in a playbook does not include a name: field then +# ansible-playbook will construct a header that includes the task's action but +# not the task's args. This is a security feature because ansible cannot know +# if the *module* considers an argument to be no_log at the time that the +# header is printed. If your environment doesn't have a problem securing +# stdout from ansible-playbook (or you have manually specified no_log in your +# playbook on all of the tasks where you have secret information) then you can +# safely set this to True to get more informative messages. +#display_args_to_stdout = False + +# by default (as of 1.3), Ansible will raise errors when attempting to dereference +# Jinja2 variables that are not set in templates or action lines. Uncomment this line +# to revert the behavior to pre-1.3. +#error_on_undefined_vars = False + +# by default (as of 1.6), Ansible may display warnings based on the configuration of the +# system running ansible itself. This may include warnings about 3rd party packages or +# other conditions that should be resolved if possible. +# to disable these warnings, set the following value to False: +#system_warnings = True + +# by default (as of 1.4), Ansible may display deprecation warnings for language +# features that should no longer be used and will be removed in future versions. +# to disable these warnings, set the following value to False: +#deprecation_warnings = True + +# (as of 1.8), Ansible can optionally warn when usage of the shell and +# command module appear to be simplified by using a default Ansible module +# instead. These warnings can be silenced by adjusting the following +# setting or adding warn=yes or warn=no to the end of the command line +# parameter string. This will for example suggest using the git module +# instead of shelling out to the git command. +# command_warnings = False + + +# set plugin path directories here, separate with colons +action_plugins = ../../qtip/ansible_library/plugins/action +#cache_plugins = /usr/share/ansible/plugins/cache +#callback_plugins = /usr/share/ansible/plugins/callback +#connection_plugins = /usr/share/ansible/plugins/connection +#lookup_plugins = /usr/share/ansible/plugins/lookup +#inventory_plugins = /usr/share/ansible/plugins/inventory +#vars_plugins = /usr/share/ansible/plugins/vars +filter_plugins = ../../qtip/ansible_library/plugins/filter +#test_plugins = /usr/share/ansible/plugins/test +#terminal_plugins = /usr/share/ansible/plugins/terminal +#strategy_plugins = /usr/share/ansible/plugins/strategy + + +# by default, ansible will use the 'linear' strategy but you may want to try +# another one +#strategy = free + +# by default callbacks are not loaded for /bin/ansible, enable this if you +# want, for example, a notification or logging callback to also apply to +# /bin/ansible runs +#bin_ansible_callbacks = False + + +# don't like cows? that's unfortunate. +# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1 +#nocows = 1 + +# set which cowsay stencil you'd like to use by default. When set to 'random', +# a random stencil will be selected for each task. The selection will be filtered +# against the `cow_whitelist` option below. +#cow_selection = default +#cow_selection = random + +# when using the 'random' option for cowsay, stencils will be restricted to this list. +# it should be formatted as a comma-separated list with no spaces between names. +# NOTE: line continuations here are for formatting purposes only, as the INI parser +# in python does not support them. +#cow_whitelist=bud-frogs,bunny,cheese,daemon,default,dragon,elephant-in-snake,elephant,eyes,\ +# hellokitty,kitty,luke-koala,meow,milk,moofasa,moose,ren,sheep,small,stegosaurus,\ +# stimpy,supermilker,three-eyes,turkey,turtle,tux,udder,vader-koala,vader,www + +# don't like colors either? +# set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1 +#nocolor = 1 + +# if set to a persistent type (not 'memory', for example 'redis') fact values +# from previous runs in Ansible will be stored. This may be useful when +# wanting to use, for example, IP information from one group of servers +# without having to talk to them in the same playbook run to get their +# current IP information. +#fact_caching = memory + + +# retry files +# When a playbook fails by default a .retry file will be created in ~/ +# You can disable this feature by setting retry_files_enabled to False +# and you can change the location of the files by setting retry_files_save_path + +#retry_files_enabled = False +#retry_files_save_path = ~/.ansible-retry + +# squash actions +# Ansible can optimise actions that call modules with list parameters +# when looping. Instead of calling the module once per with_ item, the +# module is called once with all items at once. Currently this only works +# under limited circumstances, and only with parameters named 'name'. +#squash_actions = apk,apt,dnf,homebrew,pacman,pkgng,yum,zypper + +# prevents logging of task data, off by default +#no_log = False + +# prevents logging of tasks, but only on the targets, data is still logged on the master/controller +#no_target_syslog = False + +# controls whether Ansible will raise an error or warning if a task has no +# choice but to create world readable temporary files to execute a module on +# the remote machine. This option is False by default for security. Users may +# turn this on to have behaviour more like Ansible prior to 2.1.x. See +# https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user +# for more secure ways to fix this than enabling this option. +#allow_world_readable_tmpfiles = False + +# controls the compression level of variables sent to +# worker processes. At the default of 0, no compression +# is used. This value must be an integer from 0 to 9. +#var_compression_level = 9 + +# controls what compression method is used for new-style ansible modules when +# they are sent to the remote system. The compression types depend on having +# support compiled into both the controller's python and the client's python. +# The names should match with the python Zipfile compression types: +# * ZIP_STORED (no compression. available everywhere) +# * ZIP_DEFLATED (uses zlib, the default) +# These values may be set per host via the ansible_module_compression inventory +# variable +#module_compression = 'ZIP_DEFLATED' + +# This controls the cutoff point (in bytes) on --diff for files +# set to 0 for unlimited (RAM may suffer!). +#max_diff_size = 1048576 + +# This controls how ansible handles multiple --tags and --skip-tags arguments +# on the CLI. If this is True then multiple arguments are merged together. If +# it is False, then the last specified argument is used and the others are ignored. +#merge_multiple_cli_flags = False + +# Controls showing custom stats at the end, off by default +#show_custom_stats = True + +# Controlls which files to ignore when using a directory as inventory with +# possibly multiple sources (both static and dynamic) +#inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo + +# This family of modules use an alternative execution path optimized for network appliances +# only update this setting if you know how this works, otherwise it can break module execution +#network_group_modules=['eos', 'nxos', 'ios', 'iosxr', 'junos', 'vyos'] + +# This keeps facts from polluting the main namespace as variables. +# Setting to True keeps them under the ansible_facts namespace, the default is False +#restrict_facts_namespace: True + +[privilege_escalation] +#become=True +#become_method=sudo +#become_user=root +#become_ask_pass=False + +[paramiko_connection] + +# uncomment this line to cause the paramiko connection plugin to not record new host +# keys encountered. Increases performance on new host additions. Setting works independently of the +# host key checking setting above. +#record_host_keys=False + +# by default, Ansible requests a pseudo-terminal for commands executed under sudo. Uncomment this +# line to disable this behaviour. +#pty=False + +# paramiko will default to looking for SSH keys initially when trying to +# authenticate to remote devices. This is a problem for some network devices +# that close the connection after a key failure. Uncomment this line to +# disable the Paramiko look for keys function +#look_for_keys = False + +# When using persistent connections with Paramiko, the connection runs in a +# background process. If the host doesn't already have a valid SSH key, by +# default Ansible will prompt to add the host key. This will cause connections +# running in background processes to fail. Uncomment this line to have +# Paramiko automatically add host keys. +#host_key_auto_add = True + +[ssh_connection] + +# ssh arguments to use +# Leaving off ControlPersist will result in poor performance, so use +# paramiko on older platforms rather than removing it, -C controls compression use +#ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s + +# The base directory for the ControlPath sockets. +# This is the "%(directory)s" in the control_path option +# +# Example: +# control_path_dir = /tmp/.ansible/cp +#control_path_dir = ~/.ansible/cp + +# The path to use for the ControlPath sockets. This defaults to a hashed string of the hostname, +# port and username (empty string in the config). The hash mitigates a common problem users +# found with long hostames and the conventional %(directory)s/ansible-ssh-%%h-%%p-%%r format. +# In those cases, a "too long for Unix domain socket" ssh error would occur. +# +# Example: +# control_path = %(directory)s/%%h-%%r +#control_path = + +# Enabling pipelining reduces the number of SSH operations required to +# execute a module on the remote server. This can result in a significant +# performance improvement when enabled, however when using "sudo:" you must +# first disable 'requiretty' in /etc/sudoers +# +# By default, this option is disabled to preserve compatibility with +# sudoers configurations that have requiretty (the default on many distros). +# +#pipelining = False + +# Control the mechanism for transferring files (old) +# * smart = try sftp and then try scp [default] +# * True = use scp only +# * False = use sftp only +#scp_if_ssh = smart + +# Control the mechanism for transferring files (new) +# If set, this will override the scp_if_ssh option +# * sftp = use sftp to transfer files +# * scp = use scp to transfer files +# * piped = use 'dd' over SSH to transfer files +# * smart = try sftp, scp, and piped, in that order [default] +#transfer_method = smart + +# if False, sftp will not use batch mode to transfer files. This may cause some +# types of file transfer failures impossible to catch however, and should +# only be disabled if your sftp version has problems with batch mode +#sftp_batch_mode = False + +[persistent_connection] + +# Configures the persistent connection timeout value in seconds. This value is +# how long the persistent connection will remain idle before it is destroyed. +# If the connection doesn't receive a request before the timeout value +# expires, the connection is shutdown. The default value is 30 seconds. +#connect_timeout = 30 + +# Configures the persistent connection retries. This value configures the +# number of attempts the ansible-connection will make when trying to connect +# to the local domain socket. The default value is 30. +#connect_retries = 30 + +# Configures the amount of time in seconds to wait between connection attempts +# to the local unix domain socket. This value works in conjunction with the +# connect_retries value to define how long to try to connect to the local +# domain socket when setting up a persistent connection. The default value is +# 1 second. +#connect_interval = 1 + +[accelerate] +#accelerate_port = 5099 +#accelerate_timeout = 30 +#accelerate_connect_timeout = 5.0 + +# The daemon timeout is measured in minutes. This time is measured +# from the last activity to the accelerate daemon. +#accelerate_daemon_timeout = 30 + +# If set to yes, accelerate_multi_key will allow multiple +# private keys to be uploaded to it, though each user must +# have access to the system via SSH to add a new key. The default +# is "no". +#accelerate_multi_key = yes + +[selinux] +# file systems that require special treatment when dealing with security context +# the default behaviour that copies the existing context or uses the user default +# needs to be changed to use the file system dependent context. +#special_context_filesystems=nfs,vboxsf,fuse,ramfs,9p + +# Set this to yes to allow libvirt_lxc connections to work without SELinux. +#libvirt_lxc_noseclabel = yes + +[colors] +#highlight = white +#verbose = blue +#warn = bright purple +#error = red +#debug = dark gray +#deprecate = purple +#skip = cyan +#unreachable = red +#ok = green +#changed = yellow +#diff_add = green +#diff_remove = red +#diff_lines = cyan + + +[diff] +# Always print diff when running ( same as always running with -D/--diff ) +# always = no + +# Set how many context lines to show in diff +# context = 3 diff --git a/tests/integration/compute.yaml b/tests/integration/compute.yaml new file mode 100644 index 00000000..4cb71e9f --- /dev/null +++ b/tests/integration/compute.yaml @@ -0,0 +1,32 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +--- +- hosts: fuel-master + gather_facts: no + tasks: + - name: collect facts of fuel hosts + fuel: + - name: add compute node to ansible inventory + add_host: + name: "{{ hosts_meta[item]['ip'] }}" + groups: compute + ansible_user: root + ansible_ssh_common_args: '-o StrictHostKeyChecking=No -o ProxyJump=fuel-master' + with_items: "{{ hosts.compute }}" +- hosts: compute + tasks: + - name: check ssh connection + ping: + - include: tasks/inxi.yaml +- hosts: local + tasks: + - name: create system information report + local_action: template src=templates/inxi-system-info.j2 dest=reports/inxi-system-info + delegate_to: localhost diff --git a/tests/integration/hosts b/tests/integration/hosts new file mode 100644 index 00000000..9b91eea6 --- /dev/null +++ b/tests/integration/hosts @@ -0,0 +1,6 @@ +[fuel-master] +fuel-master + +[local] +localhost ansible_connection=local + diff --git a/tests/integration/reports/inxi-system-info b/tests/integration/reports/inxi-system-info new file mode 100644 index 00000000..371243e2 --- /dev/null +++ b/tests/integration/reports/inxi-system-info @@ -0,0 +1,36 @@ +System Information from inxi +============================ + +node-26 +----------------------------- + +CPU Brand.................2 Deca core Intel Xeon E5-2650 v3s (-HT-MCP-SMP-) speed/max: 1200/3000 MHz +Disk............................................................................1200.3GB (0.8% used) +Host Name.........................................................................node-26.zte.com.cn +Kernel..............................................................4.4.0-66-generic x86_64 (64 bit) +Memory.............................................................................3836.1/128524.1MB +Operating System.................................................................Ubuntu 16.04 xenial +Product......................................................................................EC600G3 + +node-28 +----------------------------- + +CPU Brand.................2 Deca core Intel Xeon E5-2650 v3s (-HT-MCP-SMP-) speed/max: 1200/3000 MHz +Disk............................................................................1200.3GB (0.8% used) +Host Name.........................................................................node-28.zte.com.cn +Kernel..............................................................4.4.0-66-generic x86_64 (64 bit) +Memory.............................................................................3826.6/128524.1MB +Operating System.................................................................Ubuntu 16.04 xenial +Product......................................................................................EC600G3 + +node-27 +----------------------------- + +CPU Brand.................2 Deca core Intel Xeon E5-2650 v3s (-HT-MCP-SMP-) speed/max: 1200/3000 MHz +Disk............................................................................1200.3GB (0.8% used) +Host Name.........................................................................node-27.zte.com.cn +Kernel..............................................................4.4.0-66-generic x86_64 (64 bit) +Memory.............................................................................3922.4/128524.1MB +Operating System.................................................................Ubuntu 16.04 xenial +Product......................................................................................EC600G3 + diff --git a/tests/integration/tasks/inxi.yaml b/tests/integration/tasks/inxi.yaml new file mode 100644 index 00000000..f8951dc1 --- /dev/null +++ b/tests/integration/tasks/inxi.yaml @@ -0,0 +1,30 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- name: install inxi - Command line system information script for console and IRC + package: + name: inxi + state: present + +- name: check hardware information with inxi + command: inxi -b -c0 -n + register: inxi_log + +- name: collect system information from inxi + collect: + string: "{{ inxi_log.stdout }}" + patterns: + - '.+\s+Host:\s+(?P<hostname>.+)\sKernel' + - '.+\sMemory:\s+(?P<memory>.+MB)\s' + - '^CPU\(s\):\s+(?P<cpu>.+)' + - '.+\sDistro:\s+(?P<os>.+)' + - '.+\sKernel:\s+(?P<kernel>.+)\sConsole' + - '.+\s+HDD Total Size:\s+(?P<disk>.+)\s' + - '.+\sproduct:\s+(?P<product>.+)\sv' + register: inxi_info diff --git a/tests/integration/templates/inxi-system-info.j2 b/tests/integration/templates/inxi-system-info.j2 new file mode 100644 index 00000000..35c8661f --- /dev/null +++ b/tests/integration/templates/inxi-system-info.j2 @@ -0,0 +1,16 @@ +System Information from inxi +============================ + +{% for host in groups['compute'] %} +{{ hostvars[host].ansible_hostname }} +----------------------------- + +{{ ('CPU Brand', hostvars[host].inxi_info.cpu[0])|justify }} +{{ ('Disk', hostvars[host].inxi_info.disk[0])|justify }} +{{ ('Host Name', hostvars[host].inxi_info.hostname[0])|justify }} +{{ ('Kernel', hostvars[host].inxi_info.kernel[0])|justify }} +{{ ('Memory', hostvars[host].inxi_info.memory[0])|justify }} +{{ ('Operating System', hostvars[host].inxi_info.os[0])|justify }} +{{ ('Product', hostvars[host].inxi_info.product[0])|justify }} + +{% endfor %} diff --git a/tests/unit/ansible_library/modules/fuel_test.py b/tests/unit/ansible_library/modules/fuel_test.py new file mode 100644 index 00000000..6a440e0d --- /dev/null +++ b/tests/unit/ansible_library/modules/fuel_test.py @@ -0,0 +1,60 @@ +############################################################### +# Copyright (c) 2017 ZTE Corporation +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +import json +import os + +from qtip.ansible_library.modules import fuel + + +def test_generate_inventory(data_root): + nodes = json.load(open(os.path.join(data_root, 'external', 'fuel', 'fuel-node.json'))) + inventory = fuel.generate_inventory(nodes) + assert dict(inventory['hosts']) == { + u'ceph-osd': [u'node-26', u'node-28', u'node-27'], + 'cluster-4': [u'node-24', + u'node-26', + u'node-23', + u'node-28', + u'node-25', + u'node-27'], + u'compute': [u'node-26', u'node-28', u'node-27'], + u'controller': [u'node-24', u'node-23', u'node-25'], + 'hw-zte-servers': [u'node-24', + u'node-26', + u'node-23', + u'node-28', + u'node-25', + u'node-27'], + u'mongo': [u'node-24'], + 'node-23': [u'node-23'], + 'node-24': [u'node-24'], + 'node-25': [u'node-25'], + 'node-26': [u'node-26'], + 'node-27': [u'node-27'], + 'node-28': [u'node-28']} + assert dict(inventory['hosts_meta']) == { + u'node-23': {'ansible_ssh_host': u'10.20.11.10', 'cluster': 4, 'ip': u'10.20.11.10', + 'mac': u'74:4a:a4:01:71:61', 'name': u'Untitled (71:61)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}, + u'node-24': {'ansible_ssh_host': u'10.20.11.11', 'cluster': 4, 'ip': u'10.20.11.11', + 'mac': u'74:4a:a4:01:73:50', 'name': u'Untitled (73:50)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}, + u'node-25': {'ansible_ssh_host': u'10.20.11.12', 'cluster': 4, 'ip': u'10.20.11.12', + 'mac': u'74:4a:a4:00:d8:76', 'name': u'Untitled (d8:76)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}, + u'node-26': {'ansible_ssh_host': u'10.20.11.15', 'cluster': 4, 'ip': u'10.20.11.15', + 'mac': u'74:4a:a4:01:61:ae', 'name': u'Untitled (61:ae)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}, + u'node-27': {'ansible_ssh_host': u'10.20.11.13', 'cluster': 4, 'ip': u'10.20.11.13', + 'mac': u'74:4a:a4:01:82:c0', 'name': u'Untitled (82:c0)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}, + u'node-28': {'ansible_ssh_host': u'10.20.11.14', 'cluster': 4, 'ip': u'10.20.11.14', + 'mac': u'74:4a:a4:01:74:63', 'name': u'Untitled (74:63)', 'online': True, 'os_platform': u'ubuntu', + 'status': u'ready'}} diff --git a/tests/unit/ansible_library/plugins/action/collect_test.py b/tests/unit/ansible_library/plugins/action/collect_test.py new file mode 100644 index 00000000..5a9fc8f5 --- /dev/null +++ b/tests/unit/ansible_library/plugins/action/collect_test.py @@ -0,0 +1,36 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corp and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +import pytest + +from qtip.ansible_library.plugins.action import collect + + +@pytest.fixture +def string(): + return """Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. + +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +""" + + +@pytest.mark.parametrize("patterns,expected", [ + ('not exist', {}), + ('Lorem (\S+)', {}), + ('nisi ut (?P<name>\S+)', {'name': ['aliquip']}), + ('in\s(?P<in>\w+)', {'in': ['reprehenderit', 'voluptate', 'culpa']}) +]) +def test_collect(patterns, string, expected): + assert collect.collect(patterns, string) == expected |