Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

            {
"username": "server",
"password": "",
"ip": "192.168.1.1",
"port": 80,
"protocol": "http",
"url": "",
"testUrl": "",
"manufacturer": "GenuineIntel",
"hwVersion": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
"swVersion": "Click 2.1"
},
"basic":
            {
"driver": "restServerrest-server"
}
}
}
}

Note that manufacturer, hwVersion, swVersion, and driver fields are sensitive pieces of information related to the server device driver.

...

HTTP GET: http://serverIp/metron/server_resources

A server with 2 Intel CPU cores and 1 in one socket, 16 GB of DDR4 DRAM, and a single-port Mellanox 100 GbE NIC might provide the following response:

{
    "id":"metron:server:000001",
    "serial":"4Y6JZ42",
    "manufacturer":"GenuineIntel",
    "hwVersion":"Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
    "swVersion":"Click 2.1",
    "cpus":
    [
        {
            "idphysicalId":0,
            "vendor":"GenuineIntel",
            "frequencylogicalId":32000,
        },
        {
            "idsocket":10,
            "vendor":"GenuineIntel",
            "frequency":3200
        },
    ],
    "    {
            "physicalId":1,
"logicalId":1,
"socket":0,
            "vendor":"GenuineIntel",
            "frequency":3200
        }
    ],
"cpuCacheHierarchy":
{
"sockets": 1,
"cores": 2,
"levels": 3,
"cpuCaches":
[
{
"vendor": "GenuineIntel",
"level": "L1",
"type": "Data",
"policy": "Set-Associative",
"sets": 64,
"ways": 8,
"lineLength": 64,
"capacity": 32768,
"shared": 0
},
{
"vendor": "GenuineIntel",
"level": "L1",
"type": "Instruction",
"policy": "Set-Associative",
"sets": 64,
"ways": 8,
"lineLength": 64,
"capacity": 32768,
"shared": 0
},
{
"vendor": "GenuineIntel",
"level": "L2",
"type": "Data",
"policy": "Set-Associative",
"sets": 512,
"ways": 8,
"lineLength": 64,
"capacity": 262144,
"shared": 0
},
{
"vendor": "GenuineIntel",
"level": "L3",
"type": "Data",
"policy": "Set-Associative",
"sets": 16384,
"ways": 20,
"lineLength": 64,
"capacity": 20971520,
"shared": 1
}
]
},
"memoryHierarchy":
{
"modules":
[
{
"type": "DDR4",
"manufacturer": "00CE00B300CE",
"serial": "40078A0C",
"dataWidth": 64,
"totalWidth": 72,
"capacity": 16384,
"speed": 2133,
"speedConfigured": 2133
}
]
},
    "nics":
    [
        {
            "name":"fd0",
            "indexid":0,
            "vendor":"Unknown",
            "driver":"net_mlx5",
            "speed":"100000",
            "status":"1",
            "portType":"fiber",
            "hwAddr":"50:6B:4B:43:88:CB",
            "rxFilter":["flow"]
        }
    ]
}

...