summaryrefslogtreecommitdiffstats
path: root/sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang
diff options
context:
space:
mode:
authordemx8as6 <martin.skorupski@highstreet-technologies.com>2018-07-06 10:27:37 +0200
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-07-11 16:53:59 -0400
commit9872fa0a158c347d7bdfa72c4e0da06576b297b1 (patch)
treea2bc415665356bf06ebd4d6f4fdac7277da5141d /sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang
parent60315525ab5e7c12a9f47c409092e8dba6ad656d (diff)
Add YANG modules used by SDN-R apps
Applications of wireless artifacts supports a couple of YANG modules from various SDOs. Most of them might be "learnt" by ODL (CCSDK) when connecting the frist time to a NetConf Server during handshake, (HELLO-MESSAGE). APIs based on YANG modules might be used south- bound and northbound. Issue-ID: CCSDK-352 Change-Id: I8785148c1f9473c7c006255d718a1fbaf950164c Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
Diffstat (limited to 'sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang')
-rw-r--r--sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang88
1 files changed, 88 insertions, 0 deletions
diff --git a/sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang b/sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang
new file mode 100644
index 00000000..4d6fb7c2
--- /dev/null
+++ b/sdnr/model/yang/onf-ethernet-conditional-packages@2017-04-02.yang
@@ -0,0 +1,88 @@
+module onf-ethernet-conditional-packages {
+ namespace "urn:onf:params:xml:ns:yang:onf-ethernet-conditional-packages";
+ prefix onf-ethernet-conditional-packages;
+ import core-model {
+ prefix core-model;
+ }
+ organization "ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project";
+ contact "WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
+ WG List: <mailto:wireless-transport@login.opennetworking.org>
+ WG Chair: Lyndon Ong
+ <mailto:lyong@ciena.com>
+ WG Chair: Giorgio Cazzaniga
+ <mailto:giorgio.cazzaniga@sm-optics.com>
+ Editors: Thorsten Heinze
+ <mailto:thorsten.heinze@telefonica.com>
+ Martin Skorupski
+ <mailto:martin.skorupski@highstreet-technologies.com>";
+ description "This model adds conditional packages to the ONF CoreModel in order address Ethernet use cases.";
+ revision 2017-04-02 {
+ description "Initial version";
+ reference "ONF TR 532: A YANG Data Model for Wireless Networks.";
+ }
+ /***********************
+ * package object-classes
+ **********************/
+ list ethernet-pac {
+ key 'layer-protocol';
+ leaf layer-protocol {
+ type leafref {
+ path '/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid';
+ }
+ description "none";
+ }
+ container ethernet-capability {
+ config false;
+ uses ethernet-capability-g;
+ description "none";
+ }
+ container ethernet-configuration {
+ uses ethernet-configuration-g;
+ description "none";
+ }
+ container ethernet-status {
+ config false;
+ uses ethernet-status-g;
+ description "none";
+ }
+ container ethernet-current-problems {
+ config false;
+ uses ethernet-current-problems-g;
+ description "none";
+ }
+ container ethernet-current-performance {
+ config false;
+ uses ethernet-current-performance-g;
+ description "none";
+ }
+ container ethernet-historical-performances {
+ config false;
+ uses ethernet-historical-performances-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping ethernet-capability-g {
+ description "none";
+ }
+ grouping ethernet-configuration-g {
+ leaf vlan-id {
+ type int16;
+ description "value = 0: frames on ingress must be untagged, frames on egress get untagged; value = any other positive integer < 4096: frames on ingress must be tagged with this VLAN ID, frames on egress either already have or get this VLAN ID attached;";
+ }
+ description "none";
+ }
+ grouping ethernet-status-g {
+ description "none";
+ }
+ grouping ethernet-current-problems-g {
+ description "none";
+ }
+ grouping ethernet-current-performance-g {
+ description "none";
+ }
+ grouping ethernet-historical-performances-g {
+ description "none";
+ }
+
+}