Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / vpnservice / elanmanager / elanmanager-impl / src / main / yang / elanmanager-config.yang
1 module elan-config {
2     yang-version 1;
3     namespace "urn:opendaylight:netvirt:elan:config";
4     prefix "elan-config";
5
6     description
7         "Configuration for elanmanager";
8
9     revision "2015-07-10" {
10         description
11                 "Initial revision";
12     }
13
14     container elan-config {
15         config true;
16         leaf auto-create-bridge {
17             description "If true, auto-create default bridge";
18             type boolean;
19             default true;
20         }
21         leaf int-bridge-gen-mac {
22             description "If true, generate a mac, else use the bridge generated mac";
23             type boolean;
24             default true;
25         }
26         leaf controller-max-backoff {
27             description "max_backoff in milliseconds for controller configured
28                 on OVS Bridge. A null value means use switch default";
29             type uint32 {
30                 range "1000..max";
31             }
32         }
33         leaf controller-inactivity-probe {
34             description "inactivity_probe timeout in milliseconds for
35                 controller configured on OVS Bridge.
36                 null - Use switch default
37                 0    - Disable inactivity probes";
38             type uint32;
39         }
40         leaf temp-smac-learn-timeout {
41             description "Temporary source MAC learning timeout";
42             type uint16;
43             default 10;
44         }
45         leaf punt-lldp-to-controller {
46             description "Determines whether LLDP are punt to controller or dropped";
47             type boolean;
48             default false;
49         }
50         leaf auto-config-transport-zones {
51             description "Determines whether transport zones should be automatically created/updated";
52             type boolean;
53             default true;
54         }
55         leaf use-of-tunnels {
56             type boolean;
57             default false;
58         }
59         leaf openstack-vni-semantics-enforced {
60             type boolean;
61             default true;
62         }
63         leaf l2gw-stale-vlan-cleanup-delay-secs {
64             description "Stale vlan bindings cleanup delay after the southbound node is disconnected";
65             type uint16;
66             default 900;
67         }
68         leaf l2gw-logical-switch-delay-secs {
69             description "The delay after which logical switch is deleted after the l2gw connection is deleted";
70             type uint16;
71             default 20;
72         }
73     }
74 }