2 * Copyright (c) 2016 Inocybe Technologies and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
10 namespace "urn:opendaylight:params:xml:ns:yang:vpnintent";
13 import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
15 revision "2015-01-05" {
16 description "Initial revision of VPN intent model.
17 Create VPN via Intent, keep VPN state and manage MPLS labels";
27 typedef failover-type {
41 description "VPN name";
44 leaf path-protection {
53 description "List to keep track site name and endpoint.";
57 grouping endpoint-fields {
60 description "VPN member site name.";
65 description "VPN member IP prefix.";
70 description "Switch and port ID that VPN member is connected to.";
81 description "20 bit MPLS label ID";
85 description "Keep track of MPLS/other label endpoint relation.";
89 container mpls-labels {
99 description "VPN name";
102 uses endpoint-fields;
106 rpc remove-vpn-endpoint{
108 "Remove VPN endpoint.";
112 description "VPN name";
117 description "VPN member site name.";
124 "Remove VPN and its endpoints.";
128 description "VPN name";