X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=v3po%2Fapi%2Fsrc%2Fmain%2Fyang%2Fpbb-types.yang;fp=v3po%2Fapi%2Fsrc%2Fmain%2Fyang%2Fpbb-types.yang;h=8c3aad41acf5bf430d773864f8a8f6f22d89743b;hb=60071c191bbb22ba48831f74ad2095acfa84f7d1;hp=1b3d4b6d57609fd810d00a8c7496284e14a519c4;hpb=ae37a3a44a56ccbbc760744f36ad9140aecc06eb;p=honeycomb.git diff --git a/v3po/api/src/main/yang/pbb-types.yang b/v3po/api/src/main/yang/pbb-types.yang index 1b3d4b6d5..8c3aad41a 100644 --- a/v3po/api/src/main/yang/pbb-types.yang +++ b/v3po/api/src/main/yang/pbb-types.yang @@ -5,7 +5,7 @@ module pbb-types { description "Common types used for defining Pbb based subinterfaces"; - revision "2016-07-04" { + revision "2016-12-14" { description "Initial revision."; } @@ -25,15 +25,15 @@ module pbb-types { typedef operation { type enumeration { // NOTE - Does not specify disabled enum value(0), because its used internally to delete/disable rewrite - enum "push-2"{ + enum "push-2" { value 2; } - enum "pop-2"{ + enum "pop-2" { value 4; description "Encapsulate/Decapsulate pbb packet according to incoming/outcoming direction"; } - enum "translate-2-1"{ + enum "translate-2-1" { value 7; } } @@ -42,22 +42,22 @@ module pbb-types { grouping pbb-rewrite-attributes { description "Provider Backbone Bridge attributes"; - leaf destination-address{ + leaf destination-address { type yang:mac-address; description "backbone destination address"; } - leaf source-address{ + leaf source-address { type yang:mac-address; description "backbone source address"; } - leaf outer-tag{ + leaf outer-tag { type uint16; } - leaf b-vlan-tag-vlan-id{ - type uint16{ + leaf b-vlan-tag-vlan-id { + type uint16 { //12 bit range range "1..4095"; } @@ -65,7 +65,7 @@ module pbb-types { } leaf i-tag-isid { - type uint32{ + type uint32 { //24 bit range range "1..16777215"; }