Versions Compared

Key

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

...

The resource discovery command issued by the device driver hits the following resource path on the server:

HTTP GET: http://serverIp/metron/resources

A server with 2 Intel CPU cores and 2 Mellanox NICs might provide the following responce:

{

"id":"

server

metron:nfv:000001",
"serial":"4Y6JZ42",
"manufacturer":"GenuineIntel",
"hwVersion":"Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
"swVersion":"Click 2.1",
"cpus":
[
{
"id":0,
"vendor":"GenuineIntel",
"frequency":3200
},
{
"id":1,
"vendor":"GenuineIntel",
"frequency":3200
}
],
"nics":
[
{
"id":"fd0",
"vendor":"Unknown",
"driver":"net_mlx5",
"speed":"100000",
"status":"1",
"portType":"fiber",
"hwAddr":"50:6B:4B:43:88:CA",
"rxFilter":["flow"]
}

,
{
"id":"fd0",
"vendor":"Unknown",
"driver":"net_mlx5",
"speed":"100000",
"status":"1",
"portType":"fiber",
"hwAddr":"50:6B:4B:43:88:CA",
"rxFilter":["flow"]
},


]
}


Note that the unit of frequency field in each CPU is in MHz, while the unit of the speed field in each NIC is in Mbps.

...