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_element_get_with_query_test() {
   String url =
       base
           + "/security-groups/521e29d6-67b8-4b3c-8633-027d21195333"
           + "?fields=id&fields=name&fields=description&fields=tenant_id"
           + "&fields=limit&fields=marker&fields=page_reverse";
   ITNeutronE2E.test_fetch(url, true, "Security Group Element Get Failed");
 }
 public void floatingIP_element_get_with_query_test() {
   String url =
       base
           + "/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7"
           + "?fields=id&fields=floating_network_id&fields=port_id&fields=status"
           + "&fields=fixed_ip_address&fields=floating_ip_address&fields=tenant_id"
           + "&fields=router_id&fields=limit&fields=marker&fields=page_reverse";
   ITNeutronE2E.test_fetch(url, true, "Floating IP Element Get Query Test");
 }
 public void singleton_floatingIP_create_test() {
   String url = base + "/floatingips";
   String content =
       "{ \"floatingip\": { "
           + "\"fixed_ip_address\": \"10.0.0.3\","
           + "\"floating_ip_address\": \"172.24.4.228\","
           + "\"floating_network_id\": \"376da547-b977-4cfe-9cba-275c80debf57\","
           + "\"id\": \"2f245a7b-796b-4f26-9cf9-9e82d248fda7\","
           + "\"port_id\": \"ce705c24-c1ef-408a-bda3-7bbd946164ab\","
           + "\"router_id\": \"d23abc8d-2991-4a55-ba98-2aaea84cc72f\","
           + "\"status\": \"ACTIVE\","
           + "\"tenant_id\": \"4969c491a3c74ee4af974e6d800c62de\" } }";
   ITNeutronE2E.test_create(url, content, "Singleton Floating IP Post Failed NB");
 }
 public void singleton_sg_create_test() {
   String url = base + "/security-groups";
   String content =
       "{\"security_group\": {\"tenant_id\": "
           + "\"1dfe7dffa0624ae882cdbda397d1d276\", \"description\": \"\", "
           + "\"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\": \"1dfe7dffa0624ae882cdbda397d1d276\", "
           + "\"port_range_max\": null, \"port_range_min\": null, "
           + "\"id\": \"823faaf7-175d-4f01-a271-0bf56fb1e7e6\", "
           + "\"security_group_id\": \"d3329053-bae5-4bf4-a2d1-7330f11ba5db\"}, "
           + "{\"remote_group_id\": null, \"direction\": \"egress\", "
           + "\"remote_ip_prefix\": null, \"protocol\": null, "
           + "\"ethertype\": \"IPv6\", \"tenant_id\": "
           + "\"1dfe7dffa0624ae882cdbda397d1d276\", \"port_range_max\": null, "
           + "\"port_range_min\": null, \"id\": "
           + "\"d3329053-bae5-4bf4-a2d1-7330f11ba5db\", "
           + "\"security_group_id\": \"d3329053-bae5-4bf4-a2d1-7330f11ba5db\"}], "
           + "\"name\": \"tempest-secgroup-1272206251\"}}";
   ITNeutronE2E.test_create(url, content, "Security Group Singleton Post Failed");
 }
 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");
 }
 public void sg_element_negative_get_test() {
   String url = base + "/security-groups/521e29d6-67b8-4b3c-8633-027d21195333";
   ITNeutronE2E.test_fetch(url, false, "Security Group Element Negative Get Failed");
 }
 public void sg_delete_test() {
   String url = base + "/security-groups/521e29d6-67b8-4b3c-8633-027d21195333";
   ITNeutronE2E.test_delete(url, "Security Group Delete Failed");
 }
 public void securityGroup_collection_get_test() {
   String url = base + "/security-groups";
   ITNeutronE2E.test_fetch(url, "Security Group Collection GET failed");
 }
 public void floatingIP_element_negative_get_test() {
   String url = base + "/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7";
   ITNeutronE2E.test_fetch(url, false, "Floating IP Element Negative Get Test");
 }
 public void floatingIP_delete_test() {
   String url = base + "/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7";
   ITNeutronE2E.test_delete(url, "Floating IP Delete Test");
 }
 public void floatingIP_collection_get_test() {
   String url = base + "/floatingips";
   ITNeutronE2E.test_fetch(url, "FloatingIP Collection GET failed");
 }