Net-virt-sfc Data Change Listener code first pass.
[netvirt.git] / openstack / net-virt-sfc / api / src / main / yang / netvirt-acl.yang
1 module netvirt-sfc-acl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:netvirt:sfc:acl";
4     prefix "acl";
5
6     import ietf-acl { prefix ietf-acl;}
7     import yang-ext { prefix ext; }
8
9     revision "2015-01-05" {
10         description "Initial revision of netvirt extensions to ietf-acl model";
11     }
12
13     // TODO: Add choice for Neutron and add fields there instead of at the root of matches
14     augment "/ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-list-entries" +
15             "/ietf-acl:access-list-entry/ietf-acl:matches" {
16         description "Neutron network uuid";
17         leaf network-uuid {
18             type string;
19         }
20     }
21
22     // TODO: Add choice for Neutron and add fields there instead of at the root of matches
23     augment "/ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-list-entries" +
24             "/ietf-acl:access-list-entry/ietf-acl:actions" {
25         description "Redirect traffic to SFC identified by SFC Path ID";
26         leaf redirect-sfc {
27             type string;
28         }
29     }
30 }