summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/api/src/main/yang/vpp-interface-acl.yang
blob: 1932e9c97feac27d47dfceea69fc0bab2cbe50c1 (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 "2016-12-14" {
        description
            "Initial revision of vpp-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;
    }
}