Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / aclservice / impl / src / main / yang / aclservice-config.yang
1 module aclservice-config {
2     yang-version 1;
3     namespace "urn:opendaylight:netvirt:aclservice-config";
4     prefix "aclservice-config";
5
6     description
7         "Configuration for acl-serviceImpl.";
8
9     revision "2016-08-06" {
10         description
11                 "Initial revision.";
12     }
13
14     container aclservice-config {
15         config true;
16         leaf security-group-mode {
17             type enumeration {
18                 enum "stateful";
19             }
20             default "stateful";
21         }
22
23         leaf default-behavior {
24             type enumeration {
25                 enum "allow";
26                 enum "deny";
27             }
28             default "deny";
29         }
30
31         leaf security-group-tcp-idle-timeout {
32             type uint16;
33             default 18000;
34         }
35         leaf security-group-tcp-hard-timeout {
36             type uint16;
37             default 0;
38         }
39         leaf security-group-tcp-fin-idle-timeout {
40             type uint16;
41             default 300;
42         }
43         leaf security-group-tcp-fin-hard-timeout {
44             type uint16;
45             default 0;
46         }
47         leaf security-group-udp-idle-timeout {
48             type uint16;
49             default 300;
50         }
51         leaf security-group-udp-hard-timeout {
52             type uint16;
53             default 0;
54         }
55         leaf security-group-default-idle-timeout {
56             type uint16;
57             default 300;
58         }
59         leaf security-group-default-hard-timeout {
60             type uint16;
61             default 0;
62         }
63     }
64 }