module itm { namespace "urn:opendaylight:params:xml:ns:yang:itm"; prefix itm; import ietf-interfaces { prefix if; } import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; } import config { prefix config; revision-date 2013-04-05; } description "This YANG module defines tunnel configuration."; revision "2015-07-01"; /* Configuration data */ container transport-zones { list transport-zone { key zone-name; leaf zone-name { type string; } leaf tunnel-type { type string; } list subnets { key "prefix"; leaf prefix { type inet:ip-prefix; } leaf gateway-ip { type inet:ip-address; } leaf vlan-id { type uint16; } list vteps { key "dpn-id portname"; leaf dpn-id { type uint64; } leaf portname { type string; } leaf ip-address { type inet:ip-address; } } } } } identity itm { base "config:service-type"; config:java-class "org.opendaylight.vpnservice.itm.api.IITMProvider"; } }