remove response body from json template used for POST 25/38125/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 26 Apr 2016 20:41:38 +0000 (13:41 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 26 Apr 2016 20:47:17 +0000 (20:47 +0000)
- this was not a problem until recently, although it shouldn't
have ever been there.  Looks like the new requestsLibrary version
that came on 4/21 now uses this invalid data in it's POST which
ODL rightly rejects

Change-Id: If9bd6820a9f4345980b100e9bb1da6d102ef63f5
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/variables/ovsdb/create_port_vm.json

index e69b7474ca0e48e4d8eec03eee170e9be37b24e7..9c36cf6a996882418ca586dfc8101defa296ba1a 100644 (file)
     "binding:vif_type": "unbound",
     "mac_address": "{macAddr}"
   }
-}HTTP/1.1 201 Created
-Content-Type: application/json
-Transfer-Encoding: chunked
-Server: Jetty(8.1.15.v20140411)
-
-8CB
-{
-   "port" : {
-      "id" : "341ceaca-24bf-4017-9b08-c3180e86fd24",
-      "network_id" : "12809f83-ccdf-422c-a20a-4ddae0712655",
-      "name" : "",
-      "admin_state_up" : true,
-      "mac_address" : "FA:16:3E:8E:B8:05",
-      "fixed_ips" : [ {
-         "ip_address" : "10.1.0.3",
-         "subnet_id" : "6c496958-a787-4d8c-9465-f4c4176652e8"
-      } ],
-      "device_id" : "20e500c3-41e1-4be0-b854-55c710a1cfb2",
-      "device_owner" : "compute:None",
-      "tenant_id" : "cde2563ead464ffa97963c59e002c0cf",
-      "security_groups" : [ {
-         "id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-         "name" : "default",
-         "description" : "Default security group",
-         "tenant_id" : "cde2563ead464ffa97963c59e002c0cf",
-         "security_group_rules" : [ {
-            "id" : "3f260b84-637a-4edc-8ba6-a5ff36b2ae79",
-            "direction" : "egress",
-            "ethertype" : "IPv4",
-            "security_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "tenant_id" : "cde2563ead464ffa97963c59e002c0cf"
-         }, {
-            "id" : "9c3a324a-822d-4a60-b4d9-bc9fc8a890e9",
-            "direction" : "egress",
-            "ethertype" : "IPv6",
-            "security_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "tenant_id" : "cde2563ead464ffa97963c59e002c0cf"
-         }, {
-            "id" : "a3dc2551-2939-4a0b-8113-bcbce704c0fd",
-            "direction" : "ingress",
-            "ethertype" : "IPv6",
-            "remote_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "security_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "tenant_id" : "cde2563ead464ffa97963c59e002c0cf"
-         }, {
-            "id" : "efa8f393-1494-4370-87c2-693f1c109190",
-            "direction" : "ingress",
-            "ethertype" : "IPv4",
-            "remote_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "security_group_id" : "970d6a6d-bebf-43a3-85cc-a860fc994333",
-            "tenant_id" : "cde2563ead464ffa97963c59e002c0cf"
-         } ]
-      } ],
-      "allowed_address_pairs" : [ ],
-      "binding:host_id" : "{BIND_HOST_ID}",
-      "binding:vnic_type" : "normal",
-      "binding:vif_type" : "unbound",
-      "binding:vif_details" : [ {
-      } ]
-   }
-}
\ No newline at end of file
+}