Interface ElanData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface ElanData
    extends org.opendaylight.yangtools.yang.binding.DataRoot

    This class represents the following YANG schema fragment defined in module elan

     module elan {
       namespace urn:opendaylight:netvirt:elan;
       prefix elan;
       import network-topology {
         prefix topo;
         revision-date 2013-10-21;
       }
       import hwvtep {
         prefix hwvtep;
         revision-date 2015-09-01;
       }
       import yang-ext {
         prefix ext;
         revision-date 2013-07-09;
       }
       import ietf-interfaces {
         prefix if;
       }
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       import ietf-yang-types {
         prefix yang;
       }
       revision 2015-06-02 {
       }
       container elan-instances {
         list elan-instance {
           key elan-instance-name;
           leaf elan-instance-name {
             type string;
           }
           leaf elan-tag {
             type uint32;
           }
           leaf segment-type {
             type identityref {
               base segment-type-base;
             }
           }
           leaf segmentation-id {
             type uint32;
           }
           leaf physical-network-name {
             type string;
           }
           leaf external {
             type boolean;
             default false;
           }
           leaf mac-timeout {
             type uint32 {
               range 0..65535;
             }
           }
           leaf description {
             type string {
               length 1..254;
             }
           }
           list elan-segments {
             key segmentation-index;
             leaf segmentation-index {
               type uint32;
             }
             leaf physical-network-name {
               type string;
             }
             leaf segment-type {
               type identityref {
                 base segment-type-base;
               }
             }
             leaf segmentation-id {
               type uint32;
             }
           }
           list external-teps {
             key tep-ip;
             leaf tep-ip {
               type inet:ip-address;
             }
             leaf nodeid {
               type string;
             }
           }
         }
       }
       container elan-interfaces {
         list elan-interface {
           key name;
           leaf name {
             type leafref {
               path /if:interfaces/if:interface/if:name;
             }
           }
           leaf elan-instance-name {
             type string;
           }
           list static-mac-entries {
             key mac-address;
             leaf mac-address {
               type yang:phys-address;
             }
             leaf ip-prefix {
               type inet:ip-address;
             }
           }
           leaf description {
             type string {
               length 1..254;
             }
           }
         }
       }
       container elan-state {
         config false;
         list elan {
           key name;
           leaf name {
             type string;
           }
           leaf-list elan-interfaces {
             type leafref {
               path /if:interfaces/if:interface/if:name;
             }
           }
         }
       }
       grouping forwarding-entries {
         list mac-entry {
           key mac-address;
           leaf mac-address {
             type yang:phys-address;
           }
           leaf interface {
             type leafref {
               path /if:interfaces/if:interface/if:name;
             }
           }
           leaf controllerLearnedForwardingEntryTimestamp {
             type uint64;
           }
           leaf isStaticAddress {
             type boolean;
           }
           leaf ip-prefix {
             type inet:ip-address;
           }
           leaf src-tor-nodeid {
             type string;
           }
         }
       }
       augment /topo:network-topology/topo:topology/topo:node/hwvtep:local-ucast-macs {
         ext:augment-identifier srcnode-augmentation;
         leaf src-tor-nodeid {
           type string;
         }
       }
       container elan-forwarding-tables {
         config false;
         list mac-table {
           key elan-instance-name;
           leaf elan-instance-name {
             type string;
           }
           uses forwarding-entries;
         }
       }
       container elan-interface-forwarding-entries {
         config false;
         list elan-interface-mac {
           key elan-interface;
           leaf elan-interface {
             type leafref {
               path /if:interfaces/if:interface/if:name;
             }
           }
           uses forwarding-entries;
         }
       }
       container elan-dpn-interfaces {
         config false;
         list elan-dpn-interfaces-list {
           key elan-instance-name;
           leaf elan-instance-name {
             type string;
           }
           list dpn-interfaces {
             key dp-id;
             leaf dp-id {
               type uint64;
             }
             leaf-list interfaces {
               type leafref {
                 path /if:interfaces/if:interface/if:name;
               }
             }
           }
         }
       }
       container elan-tag-name-map {
         config false;
         list elan-tag-name {
           key elan-tag;
           leaf elan-tag {
             type uint32;
           }
           leaf name {
             type string;
           }
         }
       }
       augment /elan:elan-instances/elan:elan-instance {
         ext:augment-identifier evpn-augmentation;
         leaf evpn-name {
           type string;
         }
         leaf l3vpn-name {
           type string;
         }
       }
       identity segment-type-base {
       }
       identity segment-type-flat {
         base segment-type-base;
       }
       identity segment-type-vlan {
         base segment-type-base;
       }
       identity segment-type-vxlan {
         base segment-type-base;
       }
       identity segment-type-gre {
         base segment-type-base;
       }
     }
     
    • Method Detail

      • getElanInstances

        ElanInstances getElanInstances()
        Return elanInstances, or null if it is not present.
             
                 elan instances configuration parameters. Elan instances support both the VLAN
                 and VNI based elans.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInstances elanInstances, or null if it is not present.
      • getElanInterfaces

        ElanInterfaces getElanInterfaces()
        Return elanInterfaces, or null if it is not present.
             
                 elan is enabled on interfaces.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInterfaces elanInterfaces, or null if it is not present.
      • getElanState

        ElanState getElanState()
        Return elanState, or null if it is not present.
             
                 operational state of elans.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanState elanState, or null if it is not present.
      • getElanForwardingTables

        ElanForwardingTables getElanForwardingTables()
        Return elanForwardingTables, or null if it is not present.
             
                 MAC tables for each elan instance
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanForwardingTables elanForwardingTables, or null if it is not present.
      • getElanInterfaceForwardingEntries

        ElanInterfaceForwardingEntries getElanInterfaceForwardingEntries()
        Return elanInterfaceForwardingEntries, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInterfaceForwardingEntries elanInterfaceForwardingEntries, or null if it is not present.
      • getElanDpnInterfaces

        ElanDpnInterfaces getElanDpnInterfaces()
        Return elanDpnInterfaces, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanDpnInterfaces elanDpnInterfaces, or null if it is not present.
      • getElanTagNameMap

        ElanTagNameMap getElanTagNameMap()
        Return elanTagNameMap, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanTagNameMap elanTagNameMap, or null if it is not present.