summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang/vpp-pbb.yang
blob: 848f04e6c056e9addccbb69824b46d117dfd0e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module vpp-pbb {
  yang-version 1;
  namespace "urn:opendaylight:params:xml:ns:yang:vpp-pbb";
  prefix "vpp-pbb";

  revision "2016-04-10" {
    description "Initial revision of pbb model";
  }

  import pbb-types{
    prefix "pbb-types";
  }

  import yang-ext {
    prefix "ext";
  }

  augment /if:interfaces/if:interface {
     ext:augment-identifier "pbb-rewrite-interface-augmentation";
     container pbb-rewrite{
        uses pbb-types:pbb-rewrite-attributes;
     }
  }

  augment /if:interfaces-state/if:interface {
      ext:augment-identifier "pbb-rewrite-state-interface-augmentation";
      container pbb-rewrite-state{
         uses pbb-types:pbb-rewrite-attributes;
         config false;
      }
  }
}