Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Manta and Mantanat napi
[root@headnode (bs-1) ~]# sdc-napi /networks?name=manta
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 402
Date: Sat, 19 Aug 2017 17:43:04 GMT
Server: SmartDataCenter Networking API
x-request-id: 740e55e1-2a62-4a3c-8b10-2e0fd7e13413
x-response-time: 4
x-server-name: 51285c4f-2a19-4ec5-b1a2-08350a594b2b
Connection: keep-alive
[
{
"family": "ipv4",
"mtu": 9000,
"nic_tag": "manta",
"name": "manta",
"provision_end_ip": "10.1.104.200",
"provision_start_ip": "10.1.104.2",
"subnet": "10.1.104.0/24",
"uuid": "1636e818-7e5f-4159-9ead-c86d2d507ede",
"vlan_id": 104,
"resolvers": [],
"routes": {},
"owner_uuids": [
"6d222c74-1663-4219-db05-a48a98d3e56d",
"930896af-bf8c-48d4-885c-6573a94b1853",
"b42a9fe7-e06a-6440-afbc-903d84419bce"
],
"netmask": "255.255.255.0"
}
]
[root@headnode (bs-1) ~]# sdc-napi /networks?name=mantanat
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 444
Date: Sat, 19 Aug 2017 17:43:38 GMT
Server: SmartDataCenter Networking API
x-request-id: 1d7c7946-dbce-411c-b55d-7b14ec0dd8a4
x-response-time: 3
x-server-name: 51285c4f-2a19-4ec5-b1a2-08350a594b2b
Connection: keep-alive
[
{
"family": "ipv4",
"mtu": 1500,
"nic_tag": "mantanat",
"name": "mantanat",
"provision_end_ip": "10.1.105.200",
"provision_start_ip": "10.1.105.2",
"subnet": "10.1.105.0/24",
"uuid": "499cdf89-562e-47f2-b5d3-13ac3ce2703b",
"vlan_id": 105,
"resolvers": [
"192.168.100.2",
"8.8.4.4"
],
"gateway": "10.1.105.1",
"owner_uuids": [
"6d222c74-1663-4219-db05-a48a98d3e56d",
"930896af-bf8c-48d4-885c-6573a94b1853",
"b42a9fe7-e06a-6440-afbc-903d84419bce"
],
"netmask": "255.255.255.0"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.