summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/api/src/main/yang/vpp-interface-acl.yang
blob: 94bb2eda2ebe57de7fac379066ce3f7f111291ac (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-interface-acl {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:vpp:interface:acl";
    prefix "vpp-ifc-acl";

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

    import ietf-interfaces {
        prefix "if";
    }

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

    import yang-ext {
        prefix "ext";
    }

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

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