11.7.2.2Run the packet generator process

1.Authenticate using the following cURL command:

curl --noproxy controller_ip -X POST --fail -ksSfL --url "https:// controller_ip:8443/sdn/v2.0/auth" -H "Content-Type: application/json --data-binary '{"login":{"domain": "sdn","user": "sdn","password": "skyline"}}

2.Collect the source and destination end host details using NodeManager REST API via RsDoc/CLI For example: https://controller-ip-addr:8443/sdn/v2.0/net/nodes

For example: https://controller-ip-addr:8443/sdn/v2.0/net/nodes "nodes":

[

{

"ip": "10.0.0.6",

"mac": "22:4d:a4:05:22:dc",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:06",

"port": 1

},

{

"ip": "10.0.0.3",

"mac": "ce:9c:38:8f:c5:57",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:03",

"port": 1

},

{

"ip": "10.0.0.5",

"mac": "8e:f4:3c:47:27:09",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:05",

"port": 1

},

{

"ip": "10.0.0.1",

"mac": "76:3d:0c:d3:5e:a5",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:01",

"port": 1

},

{

"ip": "10.0.0.9",

"mac": "fe:f8:54:82:bb:39",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:09",

"port": 1

},

{

"ip": "10.0.0.2",

"mac": "9e:1a:cc:cb:43:7f",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:02",

"port": 1

},

{

"ip": "10.0.0.10",

"mac": "ee:22:95:a5:d5:22",

"vid": 0,

"dpid": "00:00:00:00:00:00:00:0a",

"port": 1

},

11.7 Path diagnostic application via REST command line API 105