Merge "Initial implementation for hwvtepsouthbound"
[ovsdb.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-access-control-list { 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/ietf-acl:access-list-entry/ietf-acl:matches" {
15     augment "/ietf-acl:access-lists/ietf-acl:acl/ietf-acl:access-list-entries/ietf-acl:ace/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:acl/ietf-acl:access-list-entries/ietf-acl:ace/ietf-acl:actions" {
24         description "Redirect traffic to SFC identified by SFC Path ID";
25         leaf redirect-sfc {
26             type string;
27         }
28     }
29 }