Details
-
Bug
-
Status: Verified
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
critical
-
5296
Description
{
"transport-zone": [
{
"zone-name": "TZA",
"subnets": [
{
"prefix": "192.168.85.0/24",
"vlan-id": 100,
"vteps": [
,
{ "dpn-id": 2, "portname": "phy2", "ip-address": "192.168.85.138" } ],
"gateway-ip": "0.0.0.0"
}
],
"tunnel-type": "odl-interface:tunnel-type-vxlan"
}
]
}
http://localhost:8181/restconf/config/itm:transport-zones/
{
"transport-zones": {
"transport-zone": [
{
"zone-name": "TZA",
"tunnel-type": "odl-interface:tunnel-type-vxlan",
"subnets": [
{
"prefix": "192.168.85.0/24",
"gateway-ip": "0.0.0.0",
"vlan-id": 100,
"vteps": [
,
{ "dpn-id": 2, "portname": "phy2", "ip-address": "192.168.85.138" } ]
}
]
}
]
}
}
http://localhost:8181/restconf/config/ietf-interfaces:interfaces/
{
"interfaces": {
"interface": [
,
{ "name": "TUNNEL:2", "enabled": true, "odl-interface:datapath-node-identifier": 2, "odl-interface:tunnel-destination": "192.168.85.137", "odl-interface:internal": true, "odl-interface:tunnel-interface-type": "odl-interface:tunnel-type-vxlan", "odl-interface:tunnel-source": "192.168.85.138", "description": "org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.TunnelTypeVxlan Trunk Interface", "type": "iana-if-type:tunnel" } ]
}
}