Interface TopologyTunnelData

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

    @Generated("mdsal-binding-generator")
    public interface TopologyTunnelData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module contains the tunnel extension of the base topology model. A tunnel is a link between two nodes, which is not a direct adjacency, but rather is formed by one or more paths routed through the network. Copyright (c)2013 Cisco Systems, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

    This class represents the following YANG schema fragment defined in module topology-tunnel

     module topology-tunnel {
       yang-version 1;
       namespace urn:opendaylight:params:xml:ns:yang:topology:tunnel;
       prefix tt;
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       import network-topology {
         prefix nt;
         revision-date 2013-10-21;
       }
       revision 2013-08-19 {
       }
       typedef path-id {
         type inet:uri;
       }
       typedef path-ref {
         type leafref {
           path /nt:network-topology/nt:topology/paths/path-id;
         }
       }
       grouping topology-tunnel-type {
         container topology-tunnel {
           presence "indicates a tunnel-aware topology";
         }
       }
       augment /nt:network-topology/nt:topology/nt:topology-types {
         uses topology-tunnel-type;
       }
       augment /nt:network-topology/nt:topology {
         when ../../nt:topology-types/topology-tunnel;
         list paths {
           config false;
           leaf path-id {
             type path-id;
           }
           key path-id;
           container path-types {
           }
         }
       }
       grouping tunnel-link-attributes {
         container tunnel-types {
           config false;
         }
         leaf-list paths {
           config false;
           type path-ref;
         }
       }
       augment /nt:network-topology/nt:topology/nt:link {
         when ../../nt:topology-types/topology-tunnel;
         uses tunnel-link-attributes;
       }
     }