Added more crud operations to postman neutron collection 01/9901/1
authorBrent Salisbury <brent.salisbury@gmail.com>
Tue, 12 Aug 2014 21:15:37 +0000 (17:15 -0400)
committerBrent Salisbury <brent.salisbury@gmail.com>
Tue, 12 Aug 2014 21:15:37 +0000 (17:15 -0400)
added: port, subnet, network.

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
resources/openstack/Neutron-v2.0-API-Examples.json.postman_collection

index 1e6518f8491cae648703b0c0cf58f66460fcf4e0..5d52d70c203f424f2746fab1709f6976b133a553 100644 (file)
@@ -3,10 +3,7 @@
        "name": "Neutron-v2.0-API-Examples",
        "description": "A collection of OpenStack Neutron v2.0 REST API calls for Postman. Import these into Postman and use to validate the OpenDaylight Neutron NB-API interfaces.\n\nResources:\n- Postman http://www.getpostman.com\n- Neutron v2.0 https://wiki.openstack.org/wiki/Neutron/APIv2-specification",
        "order": [
-               "747f9a54-e64f-57f6-ce6d-8ad358817696",
-               "55aab7d7-6159-c4fb-5b3f-42cbb55c4e7b",
-               "1215e515-a4ff-7d7e-acbf-905c6706db86",
-               "ef3c7339-ba4d-124d-7e1f-67d9ab638277"
+               "747f9a54-e64f-57f6-ce6d-8ad358817696"
        ],
        "folders": [
                {
                        ],
                        "collection_name": "Neutron-v2.0-API-Examples",
                        "collection_id": "bd9b142f-e3ad-452d-f088-eed1b741b937"
+               },
+               {
+                       "id": "2ad17469-46b9-3b8e-0686-b361e092c755",
+                       "name": "Neutron Port, Network, Subnet, CRUD",
+                       "description": "",
+                       "order": [
+                               "55aab7d7-6159-c4fb-5b3f-42cbb55c4e7b",
+                               "1215e515-a4ff-7d7e-acbf-905c6706db86",
+                               "9d37dcb1-e1e6-9fae-01ea-cc30aeb874a6",
+                               "78eb34fc-1933-c019-bf7f-fdae9652f9cd",
+                               "94c4ed8e-8e48-2384-38b0-5497fe05ba7a",
+                               "ef3c7339-ba4d-124d-7e1f-67d9ab638277"
+                       ],
+                       "collection_name": "Neutron-v2.0-API-Examples",
+                       "collection_id": "bd9b142f-e3ad-452d-f088-eed1b741b937"
                }
        ],
        "timestamp": 1394529177458,
                        "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
                        "synced": false
                },
+               {
+                       "id": "5ddf6ac3-a30f-0f73-ed0a-9b18ae2f340d",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/subnets/",
+                       "preRequestScript": "",
+                       "pathVariables": {},
+                       "method": "POST",
+                       "data": "{\n  \"subnet\": {\n    \"name\": \"\",\n    \"enable_dhcp\": true,\n    \"network_id\": \"e9330b1f-a2ef-4160-a991-169e56ab17f5\",\n    \"tenant_id\": \"4fd44f30292945e481c7b8a0c8908869\",\n    \"dns_nameservers\": [\n    ],\n    \"allocation_pools\": [\n      {\n        \"start\": \"192.168.199.2\",\n        \"end\": \"192.168.199.254\"\n      }\n    ],\n    \"host_routes\": [\n    ],\n    \"ip_version\": 4,\n    \"gateway_ip\": \"192.168.199.1\",\n    \"cidr\": \"192.168.199.0/24\",\n    \"id\": \"3b80198d-4f7b-4f77-9ef5-774d54e17126\"\n  }\n}",
+                       "dataMode": "raw",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1407876968386,
+                       "name": "Post Add Neutron Subnet",
+                       "description": "Post Neutron v2.0 Subnets",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
                {
                        "id": "747f9a54-e64f-57f6-ce6d-8ad358817696",
                        "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
                        "responses": [],
                        "synced": false
                },
+               {
+                       "id": "78eb34fc-1933-c019-bf7f-fdae9652f9cd",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/ports/",
+                       "pathVariables": {},
+                       "method": "GET",
+                       "data": [],
+                       "dataMode": "params",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1401139136358,
+                       "name": "Get Neutron Subnets",
+                       "description": "Return a list of Neutron v2.0 API Subnets.",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
                {
                        "id": "7ef5413c-7f22-ac12-5444-f9be6a7c029e",
                        "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
                        "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
                        "synced": false
                },
+               {
+                       "id": "94c4ed8e-8e48-2384-38b0-5497fe05ba7a",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/ports/",
+                       "preRequestScript": "",
+                       "pathVariables": {},
+                       "method": "POST",
+                       "data": "{\n  \"port\": {\n    \"status\": \"DOWN\",\n    \"binding:host_id\": \"\",\n    \"name\": \"private-port\",\n    \"allowed_address_pairs\": [\n    ],\n    \"admin_state_up\": true,\n    \"network_id\": \"e9330b1f-a2ef-4160-a991-169e56ab17f5\",\n    \"tenant_id\": \"d6700c0c9ffa4f1cb322cd4a1f3906fa\",\n    \"binding:vif_details\": {\n    },\n    \"binding:vnic_type\": \"normal\",\n    \"binding:vif_type\": \"unbound\",\n    \"device_owner\": \"\",\n    \"mac_address\": \"fa:16:3e:c9:cb:f0\",\n    \"binding:profile\": {\n    },\n    \"fixed_ips\": [\n      {\n        \"subnet_id\": \"3b80198d-4f7b-4f77-9ef5-774d54e17126\",\n        \"ip_address\": \"192.168.199.20\"\n      }\n    ],\n    \"id\": \"65c0ee9f-d634-4522-8954-51021b570b0d\",\n    \"security_groups\": [\n      \"f0ac4394-7e4a-4409-9701-ba8be283dbc3\"\n    ],\n    \"device_id\": \"\"\n  }\n}",
+                       "dataMode": "raw",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1407877834476,
+                       "name": "Post Add Neutron Ports",
+                       "description": "Post a list of Neutron v2.0 Subnets",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
+               {
+                       "id": "9d37dcb1-e1e6-9fae-01ea-cc30aeb874a6",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/subnets/",
+                       "preRequestScript": "",
+                       "pathVariables": {},
+                       "method": "POST",
+                       "data": "{\n  \"subnet\": {\n    \"name\": \"\",\n    \"enable_dhcp\": true,\n    \"network_id\": \"e9330b1f-a2ef-4160-a991-169e56ab17f5\",\n    \"tenant_id\": \"4fd44f30292945e481c7b8a0c8908869\",\n    \"dns_nameservers\": [\n    ],\n    \"allocation_pools\": [\n      {\n        \"start\": \"192.168.199.2\",\n        \"end\": \"192.168.199.254\"\n      }\n    ],\n    \"host_routes\": [\n    ],\n    \"ip_version\": 4,\n    \"gateway_ip\": \"192.168.199.1\",\n    \"cidr\": \"192.168.199.0/24\",\n    \"id\": \"3b80198d-4f7b-4f77-9ef5-774d54e17126\"\n  }\n}\n",
+                       "dataMode": "raw",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1407877671809,
+                       "name": "Post Add Neutron Subnets",
+                       "description": "Post a list of Neutron v2.0 Subnets",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
                {
                        "id": "9fe0d840-dcd3-6d3e-d410-e88538858e3a",
                        "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
                        "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
                        "synced": false
                },
+               {
+                       "id": "b922977b-b639-04d5-1a84-a95dfea15139",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/subnets/",
+                       "preRequestScript": "",
+                       "pathVariables": {},
+                       "method": "GET",
+                       "data": [],
+                       "dataMode": "params",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1407877015645,
+                       "name": "Get Neutron Subnets",
+                       "description": "Return a list of Neutron v2.0 API Subnets.",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
+               {
+                       "id": "c8def042-8f03-4820-5c00-f01cd84281f4",
+                       "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
+                       "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/ports/",
+                       "preRequestScript": "",
+                       "pathVariables": {},
+                       "method": "POST",
+                       "data": "{\n  \"port\": {\n    \"status\": \"DOWN\",\n    \"binding:host_id\": \"\",\n    \"name\": \"private-port\",\n    \"allowed_address_pairs\": [\n    ],\n    \"admin_state_up\": true,\n    \"network_id\": \"e9330b1f-a2ef-4160-a991-169e56ab17f5\",\n    \"tenant_id\": \"d6700c0c9ffa4f1cb322cd4a1f3906fa\",\n    \"binding:vif_details\": {\n    },\n    \"binding:vnic_type\": \"normal\",\n    \"binding:vif_type\": \"unbound\",\n    \"device_owner\": \"\",\n    \"mac_address\": \"fa:16:3e:c9:cb:f0\",\n    \"binding:profile\": {\n    },\n    \"fixed_ips\": [\n      {\n        \"subnet_id\": \"3b80198d-4f7b-4f77-9ef5-774d54e17126\",\n        \"ip_address\": \"192.168.199.20\"\n      }\n    ],\n    \"id\": \"65c0ee9f-d634-4522-8954-51021b570b0d\",\n    \"security_groups\": [\n      \"f0ac4394-7e4a-4409-9701-ba8be283dbc3\"\n    ],\n    \"device_id\": \"\"\n  }\n}",
+                       "dataMode": "raw",
+                       "version": 2,
+                       "tests": "",
+                       "time": 1407877181799,
+                       "name": "Post Add Neutron Network Port",
+                       "description": "Post a list of Neutron v2.0 Port",
+                       "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
+                       "responses": [],
+                       "synced": false
+               },
                {
                        "id": "c9cc2212-1f16-ead6-5dc0-073aed1e2c61",
                        "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",