3 namespace "urn:opendaylight:params:xml:ns:yang:pbb-types";
6 description "Common types used for defining Pbb based subinterfaces";
8 revision "2016-12-14" {
13 import ietf-yang-types {
17 import ietf-interfaces {
27 // NOTE - Does not specify disabled enum value(0), because its used internally to delete/disable rewrite
34 description "Encapsulate/Decapsulate pbb packet according to incoming/outcoming direction";
36 enum "translate-2-1" {
42 grouping pbb-rewrite-attributes {
43 description "Provider Backbone Bridge attributes";
45 leaf destination-address {
46 type yang:mac-address;
47 description "backbone destination address";
51 type yang:mac-address;
52 description "backbone source address";
59 leaf b-vlan-tag-vlan-id {
64 description "backbone vlan id";
72 description "identifier of the backbone service instance ";
75 leaf interface-operation {
78 description "Define operation that will pbb interface perform while processing packets";