1 module topology-tunnel-p2p {
3 namespace "urn:opendaylight:params:xml:ns:yang:topology:tunnel:p2p";
6 import network-topology { prefix nt; revision-date 2013-10-21; }
7 import topology-tunnel { prefix tt; revision-date 2013-08-19; }
9 organization "Cisco Systems, Inc.";
10 contact "Robert Varga <rovarga@cisco.com>";
13 "This module contains the point-to-point extensions to the
14 base tunnel topology model.
16 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
18 This program and the accompanying materials are made available
19 under the terms of the Eclipse Public License v1.0 which
20 accompanies this distribution, and is available at
21 http://www.eclipse.org/legal/epl-v10.html";
23 revision "2013-08-19" {
29 grouping tunnel-p2p-type {
30 container p2p-tunnel {
31 presence "indicates a link is a point-to-point tunnel";
35 augment "/nt:network-topology/nt:topology/nt:link/tt:tunnel-types" {
39 grouping tunnel-p2p-path-hops {
46 grouping tunnel-p2p-path-cfg-attributes {
48 uses tunnel-p2p-path-hops;
58 grouping tunnel-p2p-path-oper-attributes {
61 uses tunnel-p2p-path-hops;
66 augment "/nt:network-topology/nt:topology/tt:paths" {
67 when "../path-types/p2p-tunnel";
68 uses tunnel-p2p-path-cfg-attributes;
69 uses tunnel-p2p-path-oper-attributes;