summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang
blob: 2f83adb452e345552c79781dff0dfc7ada0004d4 (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
33
34
35
36
module vpp-subinterface-acl {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:vpp:subinterface:acl";
    prefix "vpp-subifc-acl";

    revision "2017-03-15" {
        description
            "Initial revision of vpp-subinterface-acl model.";
    }

    import ietf-interfaces {
        prefix "if";
    }

    import vpp-vlan {
        prefix "vpp-vlan";
    }

    import vpp-classifier-acl {
        prefix "vpp-classifier-acl";
    }

    import yang-ext {
        prefix "ext";
    }

    augment /if:interfaces/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
       ext:augment-identifier "vpp-subinterface-acl-augmentation";
       uses vpp-classifier-acl:vpp-acl-attributes;
    }

    augment /if:interfaces-state/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
       ext:augment-identifier "vpp-subinterface-acl-state-augmentation";
       uses vpp-classifier-acl:vpp-acl-attributes;
    }
}