Security rule: tests to exercise int as protocol
[neutron.git] / integration / test / src / test / java / org / opendaylight / neutron / e2etest / NeutronSecurityRuleTests.java
index 8804eb60ded56afe48e5521fb62fef4c1240f083..8e6f2f01eb688a78328b520bab59ffe010a86551 100644 (file)
@@ -47,6 +47,7 @@ public class NeutronSecurityRuleTests {
                 "  \"id\": \"35fb0f34-c8d3-416d-a205-a2c75f7b8e22\"," +
                 "  \"direction\": \"egress\"," +
                 "  \"ethertype\": \"IPv6\"," +
+                "  \"protocol\": \"tcp\"," +
                 "  \"security_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"tenant_id\": \"2640ee2ac2474bf3906e482047204fcb\"" +
                 "}," +
@@ -54,6 +55,7 @@ public class NeutronSecurityRuleTests {
                 "  \"id\": \"63814eed-bc12-4fe4-8b17-2af178224c71\"," +
                 "  \"direction\": \"egress\"," +
                 "  \"ethertype\": \"IPv4\"," +
+                "  \"protocol\": \"6\"," +
                 "  \"security_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"tenant_id\": \"2640ee2ac2474bf3906e482047204fcb\"" +
                 "}," +
@@ -61,6 +63,7 @@ public class NeutronSecurityRuleTests {
                 "  \"id\": \"ccb9823e-559b-4d84-b656-2739f8e56d89\"," +
                 "  \"direction\": \"ingress\"," +
                 "  \"ethertype\": \"IPv6\"," +
+                "  \"protocol\": 6," +
                 "  \"remote_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"security_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"tenant_id\": \"2640ee2ac2474bf3906e482047204fcb\"" +
@@ -69,6 +72,7 @@ public class NeutronSecurityRuleTests {
                 "  \"id\": \"fbc3f809-7378-40a4-822f-7a70f6ccba98\"," +
                 "  \"direction\": \"ingress\"," +
                 "  \"ethertype\": \"IPv4\"," +
+                "  \"protocol\": \"udp\"," +
                 "  \"remote_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"security_group_id\": \"70f1b157-e79b-44dc-85a8-7de0fc9f2aab\"," +
                 "  \"tenant_id\": \"2640ee2ac2474bf3906e482047204fcb\"" +