X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=interfacemgr%2Finterfacemgr-api%2Fsrc%2Fmain%2Fyang%2Fodl-interface.yang;h=9b6add1d65f46aeb6c32242abad39e7bccf1d1bd;hb=9c0e16907ffb4d6c79ea397885f9dfed738dc848;hp=db04860f8f96f568d3d9a0a0d8fd1b21382c2edc;hpb=50bb8cd056ca25114a412398c4df672eac891b28;p=vpnservice.git diff --git a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang index db04860f..9b6add1d 100644 --- a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang +++ b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang @@ -97,6 +97,19 @@ module odl-interface { type string; description "can be a physical switch port or virtual switch port e.g. neutron port"; } + + list node-identifier { + key "topology-id"; + description "an identifier of the dependant underlying configuration protocol"; + leaf "topology-id" { + type string; + description "can be ovsdb configuration protocol"; + } + leaf "node-id" { + type string; + description "can be hwvtep configuration protocol"; + } + } } /* interface type specific properties */ @@ -143,6 +156,7 @@ module odl-interface { "The VLAN mode transparent."; } } + default "trunk"; } } @@ -188,6 +202,16 @@ module odl-interface { type inet:ip-address; description "gateway IP address"; } + + leaf monitor-enabled { + type boolean; + default false; + } + + leaf monitor-interval { + type uint32; + default 10000; + } } augment "/if:interfaces/if:interface" { @@ -216,6 +240,7 @@ module odl-interface { description "gateway IP address"; } } + /* MPLS logical port */ augment "/if:interfaces/if:interface" { ext:augment-identifier "if-mpls";