Interface InterVpnLinkData

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

    public interface InterVpnLinkData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    Service definition for inter-vpn-link project

    This class represents the following YANG schema fragment defined in module inter-vpn-link

     module inter-vpn-link {
       namespace urn:opendaylight:params:xml:ns:yang:netvirt:inter-vpn-link;
       prefix inter-vpn-link;
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       import ietf-yang-types {
         prefix yang;
         revision-date 2013-07-15;
       }
       revision 2016-03-11 {
       }
       grouping vpn-endpoint-attribs {
         leaf vpn-uuid {
           type yang:uuid;
         }
         leaf ip-address {
           type inet:ipv4-address;
         }
       }
       grouping vpn-endpoint-state-attribs {
         leaf vpn-uuid {
           type yang:uuid;
         }
         leaf-list dp-id {
           type uint64;
         }
         leaf lport-tag {
           type uint32;
         }
       }
       container inter-vpn-links {
         list inter-vpn-link {
           key name;
           leaf name {
             type string;
           }
           container first-endpoint {
             uses vpn-endpoint-attribs;
           }
           container second-endpoint {
             uses vpn-endpoint-attribs;
           }
           leaf bgp-routes-leaking {
             mandatory false;
             type boolean;
             default false;
           }
           leaf connected-routes-leaking {
             mandatory false;
             type boolean;
             default false;
           }
           leaf static-routes-leaking {
             mandatory false;
             type boolean;
             default false;
           }
           must "first-endpoint and second-endpoint";
         }
       }
       container inter-vpn-link-states {
         list inter-vpn-link-state {
           key inter-vpn-link-name;
           leaf inter-vpn-link-name {
             type string;
           }
           leaf state {
             type enumeration {
               enum active;
               enum error;
             }
           }
           container first-endpoint-state {
             uses vpn-endpoint-state-attribs;
           }
           container second-endpoint-state {
             uses vpn-endpoint-state-attribs;
           }
           leaf error-description {
             type string;
           }
         }
       }
       notification inter-vpn-link-creation-error {
         container inter-vpn-link-creation-error-message {
           leaf error-message {
             type string;
           }
         }
       }
     }
     
    • Method Detail

      • getInterVpnLinks

        @Nullable InterVpnLinks getInterVpnLinks()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.inter.vpn.link.rev160311.InterVpnLinks interVpnLinks, or null if not present
      • getInterVpnLinkStates

        @Nullable InterVpnLinkStates getInterVpnLinkStates()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.inter.vpn.link.rev160311.InterVpnLinkStates interVpnLinkStates, or null if not present