2 * Copyright (c) 2015 Cable Television Laboratories, Inc. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
\r
9 // Constructed based on Adolfo's UML UNI model
\r
11 // + uniIdentifier : string
\r
12 // + physicalMedium : string = UNI Type 2 Physical Interface
\r
13 // + speed : string = Set (10M, 100M, 10M/100M, 10M/100M/1000M, 1G, 10G>
\r
14 // + mode : string = Full Duplex
\r
15 // + macLayer : string = IEEE 802.3-2005
\r
17 // + uniMtuSize : int = [uniMtuSize >= 1522]
\r
19 module cl-vcpe-mef {
\r
22 namespace "urn:opendaylight:params:xml:ns:yang:vcpe";
\r
25 import ietf-yang-types { prefix yang; revision-date 2013-07-15; }
\r
26 import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
\r
27 import network-topology { prefix topo; revision-date 2013-10-21; }
\r
29 revision "2015-06-22" {
\r
30 description "Initial revision of vcpe model";
\r
33 grouping service-speed {
\r
58 // represent simplification of MEF Per Uni Attributes
\r
63 description "Uniquely identifies the uni";
\r
65 leaf ovsdb-node-id {
\r
68 description "Uniquely identifies the uni and ovsdb";
\r
70 leaf physical-medium {
\r
72 default "UNI TypeFull Duplex 2 Physical Interface";
\r
75 type inet:ip-address;
\r
78 type yang:mac-address;
\r
85 default "Full Duplex";
\r
89 default "IEEE 802.3-2005";
\r
100 // Represents simplification of MEF EVC Per Uni Atrributes
\r
105 description "Uniquely identifies the evc";
\r
128 container ingress-bw {
\r
129 uses service-speed;
\r
131 container egress-bw {
\r
132 uses service-speed;
\r