public void update_floatingIP_test() { String url = base + "/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7"; String content1 = "{ \"floatingip\": {" + "\"floating_network_id\": \"376da547-b977-4cfe-9cba-275c80debf57\"," + "\"router_id\": \"d23abc8d-2991-4a55-ba98-2aaea84cc72f\"," + "\"fixed_ip_address\": \"10.0.0.4\"," + "\"floating_ip_address\": \"172.24.4.228\"," + "\"tenant_id\": \"4969c491a3c74ee4af974e6d800c62de\"," + "\"status\": \"ACTIVE\"," + "\"port_id\": \"fc861431-0e6c-4842-a0ed-e2363f9bc3a8\"," + "\"id\": \"2f245a7b-796b-4f26-9cf9-9e82d248fda7\" } }"; ITNeutronE2E.test_modify(url, content1, "Singleton Floating IP Put 1 Failed NB"); String content2 = " { \"floatingip\": {" + "\"floating_network_id\": \"376da547-b977-4cfe-9cba-275c80debf57\"," + "\"router_id\": \"d23abc8d-2991-4a55-ba98-2aaea84cc72f\"," + "\"fixed_ip_address\": null," + "\"floating_ip_address\": \"172.24.4.228\"," + "\"tenant_id\": \"4969c491a3c74ee4af974e6d800c62de\"," + "\"status\": \"ACTIVE\"," + "\"port_id\": null," + "\"id\": \"2f245a7b-796b-4f26-9cf9-9e82d248fda7\" } }"; ITNeutronE2E.test_modify(url, content2, "Singleton Floating IP Put 2 Failed NB"); }
public void sg_update_test() { String url = base + "/security-groups/521e29d6-67b8-4b3c-8633-027d21195333"; String content = "{\"security_group\": {\"tenant_id\": " + "\"00f340c7c3b34ab7be1fc690c05a0275\", \"description\": " + "\"tempest-security-description-897433715\", \"id\": " + "\"521e29d6-67b8-4b3c-8633-027d21195333\", " + "\"security_group_rules\": [{\"remote_group_id\": null, " + "\"direction\": \"egress\", \"remote_ip_prefix\": null, " + "\"protocol\": null, \"ethertype\": \"IPv4\", \"tenant_id\": " + "\"00f340c7c3b34ab7be1fc690c05a0275\", \"port_range_max\": null, " + "\"port_range_min\": null, \"id\": " + "\"808bcefb-9917-4640-be68-14157bf33288\", \"security_group_id\": " + "\"521e29d6-67b8-4b3c-8633-027d21195333\"}, {\"remote_group_id\": " + "null, \"direction\": \"egress\", \"remote_ip_prefix\": null, " + "\"protocol\": null, \"ethertype\": \"IPv6\", \"tenant_id\": " + "\"00f340c7c3b34ab7be1fc690c05a0275\", \"port_range_max\": null, " + "\"port_range_min\": null, \"id\": " + "\"c376f7b5-a281-40e0-a703-5c832c03aeb3\", " + "\"security_group_id\": " + "\"521e29d6-67b8-4b3c-8633-027d21195333\"}], \"name\": " + "\"tempest-security--1135434738\"}}"; ITNeutronE2E.test_modify(url, content, "Security Group Put Failed"); }