Initial Code commit for OVS Support for vpnservice
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface-meta.yang
1 module odl-interface-meta {
2     namespace "urn:opendaylight:vpnservice:interfacemgr:meta";
3     prefix "odlifmeta";
4
5     import ovsdb {
6         prefix southbound; revision-date "2015-01-05";
7     }
8
9     revision "2015-10-07" {
10         description "ODL rendering specific Interface Manager Meta Module";
11     }
12
13     container bridge-interface-info {
14         description "Contains the list of dpns along with the tunnel interfaces configured on them.";
15
16         list bridge-entry {
17             key dpid;
18             leaf dpid {
19                 type uint64;
20             }
21
22             list bridge-interface-entry {
23                 key interface-name;
24                 leaf interface-name {
25                     type string;
26                 }
27                 leaf tp-id-ref {
28                     type southbound:ovsdb-termination-point-ref;
29                 }
30             }
31         }
32     }
33
34     container bridge-ref-info {
35         config false;
36         description "The container that maps dpid with ovs bridge ref in the operational DS.";
37
38         list bridge-ref-entry {
39             key dpid;
40             leaf dpid {
41                 type uint64;
42             }
43
44             leaf bridge-reference {
45                 type southbound:ovsdb-bridge-ref;
46                 description "This is the reference to an ovs bridge";
47             }
48         }
49     }
50 }