L3 handling for COE services.
[netvirt.git] / coe / api / src / main / yang / service-meta.yang
1 module service-meta {
2     namespace "urn:opendaylight:netvirt:coe:service-meta";
3     prefix "coe-service-meta";
4
5     import ietf-yang-types {
6         prefix yang;
7         revision-date "2013-07-15";
8     }
9
10     revision "2019-01-23" {
11         description "Coe Service Meta Information";
12     }
13
14     container service-gateway-info {
15         description "Contains the list of services to poduuid mapping";
16
17         list service-gateway {
18             key gateway-pod-name;
19             leaf gateway-pod-name {
20                 type string;
21             }
22
23             leaf gateway-pod-ip-address {
24                 type string;
25                 description "ip address of the service gateway";
26             }
27
28             leaf gateway-pod-mac-address {
29                 type string;
30                 description "MAC address of the associated port.";
31             }
32         }
33     }
34 }