NETVIRT-1121: Add IGMP Protocol types 30/72130/1
authorVictor Pickard <vpickard@redhat.com>
Mon, 21 May 2018 19:00:33 +0000 (15:00 -0400)
committerVictor Pickard <vpickard@redhat.com>
Mon, 21 May 2018 19:00:33 +0000 (15:00 -0400)
Add IGMP Protocol type definitions to neutron.

Change-Id: I2be35241b2732852a6e22cffeba35567b2a03d35
Signed-off-by: Victor Pickard <vpickard@redhat.com>
model/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/neutron/constants/rev150712/NeutronUtils.java
model/src/main/yang/neutron-constants.yang

index 85f50734221b60142759250b5ee3f1e15055f6c0..21211c7ff265a6b94b0ba2ec49e11de46ced45db 100644 (file)
@@ -51,6 +51,7 @@ public final class NeutronUtils {
             .put("tcp", ProtocolTcp.class)
             .put("udp", ProtocolUdp.class)
             .put("icmpv6", ProtocolIcmpV6.class)
+            .put("igmp", ProtocolIgmp.class)
             .build();
 
         public static Class<? extends ProtocolBase> get(String key) {
index c8f23162790460febce87cfb05729c79998eb8d8..4b5ce029e549b8683185eb59006db6d661594de6 100644 (file)
@@ -61,6 +61,11 @@ module neutron-constants {
         base protocol-base;
     }
 
+    identity protocol-igmp {
+        description "IGMP protocol.";
+        base protocol-base;
+    }
+
     // PROBE
     identity probe-base {
         description "Base identity for all probes";