4 * Copyright 2016 RIFT.IO Inc
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
22 namespace "http://riftio.com/ns/riftware-1.0/rw-topology";
25 import ietf-inet-types {prefix inet;}
26 import ietf-network {prefix nw;}
27 import ietf-network-topology {prefix nt;}
28 import ietf-l2-topology {prefix l2t;}
30 revision "2015-10-20" {
31 description "Initial revision of IP level addressing for L2 host topology";
34 grouping ip-address-group {
35 description "IP addresses if present for L2 termination points";
36 container ip-attributes {
37 description "L2 termination points containing IP addresses";
42 description "IPv4 or IPv6 address";
46 } // grouping ip-address-group
49 grouping rw-network-attributes {
50 description "RW Topology scope attributes";
51 container rw-network-attributes {
52 description "Containing RW network attributes";
55 description "Name of the RW Topology network";
57 leaf sdn-account-name {
59 description "Name of the SDN account from which topology is got";
64 grouping rw-node-attributes {
65 description "RW node attributes";
66 container rw-node-attributes {
67 description "Containing RW node attributes";
70 description "Node name";
72 leaf ovs-bridge-name {
74 description "Name of OVS bridge";
79 grouping rw-link-attributes {
80 description "RW link attributes";
81 container rw-link-attributes {
82 description "Containing RW link attributes";
85 description "Link name";
90 grouping rw-termination-point-attributes {
91 description "RW termination point attributes";
92 container rw-termination-point-attributes {
93 description "Containing RW TP attributes";
96 description "Port description";
98 uses ip-address-group;
102 augment "/nw:network" {
104 "Configuration parameters for the RW network
106 uses rw-network-attributes;
109 augment "/nw:network/nw:node" {
111 "Configuration parameters for RW at the node
113 uses rw-node-attributes;
116 augment "/nw:network/nt:link" {
117 description "Augment RW topology link information";
118 uses rw-link-attributes;
121 augment "/nw:network/nw:node/nt:termination-point" {
123 "Augment RW topology termination point configuration";
124 uses rw-termination-point-attributes;