|
I am using:
[autobuildrelease-1075]
https://nexus.opendaylight.org/content/repositories/autorelease-1075/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz
February 13, 2016
and [stable]
https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz
February 22, 2016
I bring up 3 dpn, with posting the internal transport zones in one post.
(POST) http://odl/restconf/config/itm:transport-zones/
{'transport-zone': [{'subnets': [{'gateway-ip': '0.0.0.0',
'prefix': '192.168.2.0/24',
'vlan-id': 0,
'vteps': [
{'dpn-id': 112782488287055,
'ip-address': '192.168.2.3',
'portname': 'phy0'}
,
{'dpn-id': 191959103210564,
'ip-address': '192.168.2.2',
'portname': 'phy0'}
,
{'dpn-id': 68712021894977,
'ip-address': '192.168.2.4',
'portname': 'phy0'}
]}],
'tunnel-type': 'odl-interface:tunnel-type-vxlan',
'zone-name': 'TZA'}]}
in both releases, although the internal transport is created correctly:
(GET) http://odl/restconf/config/itm:transport-zones/
{
"transport-zones": {
"transport-zone": [
{
"zone-name": "TZA",
"tunnel-type": "odl-interface:tunnel-type-vxlan",
"subnets": [
{
"prefix": "192.168.2.0/24",
"vlan-id": 0,
"vteps": [
{
"dpn-id": 191959103210564,
"portname": "phy0",
"ip-address": "192.168.2.2"
}
,
{
"dpn-id": 112782488287055,
"portname": "phy0",
"ip-address": "192.168.2.3"
}
,
{
"dpn-id": 68712021894977,
"portname": "phy0",
"ip-address": "192.168.2.4"
}
],
"gateway-ip": "0.0.0.0"
}
]
}
]
}
}
(GET) http://odl/restconf/config/itm-state:dpn-endpoints/
{
"dpn-endpoints": {
"DPN-TEPs-info": [
{
"DPN-ID": 112782488287055,
"tunnel-end-points": [
{
"portname": "phy0",
"VLAN-ID": 0,
"ip-address": "192.168.2.3",
"tunnel-type": "odl-interface:tunnel-type-vxlan",
"subnet-mask": "192.168.2.0/24",
"transport-zone": "TZA",
"interface-name": "112782488287055:phy0:0",
"gw-ip-address": "0.0.0.0"
}
]
},
{
"DPN-ID": 191959103210564,
"tunnel-end-points": [
{
"portname": "phy0",
"VLAN-ID": 0,
"ip-address": "192.168.2.2",
"tunnel-type": "odl-interface:tunnel-type-vxlan",
"subnet-mask": "192.168.2.0/24",
"transport-zone": "TZA",
"interface-name": "191959103210564:phy0:0",
"gw-ip-address": "0.0.0.0"
}
]
},
{
"DPN-ID": 68712021894977,
"tunnel-end-points": [
{
"portname": "phy0",
"VLAN-ID": 0,
"ip-address": "192.168.2.4",
"tunnel-type": "odl-interface:tunnel-type-vxlan",
"subnet-mask": "192.168.2.0/24",
"transport-zone": "TZA",
"interface-name": "68712021894977:phy0:0",
"gw-ip-address": "0.0.0.0"
}
]
}
]
}
}
it is not comming up on ovs on all hosts correctly:
Warning: Permanently added 'node-17,192.168.0.5' (ECDSA) to the list of known hosts. [30/8484]
2593f8aa-df19-4459-bbf4-114fb551afa5
Manager "tcp:192.168.0.3:6640"
is_connected: true
Bridge br-int
Controller "tcp:192.168.0.3:6633"
is_connected: true
Port br-int
Interface br-int
type: internal
Port "TUNNEL:6"
Interface "TUNNEL:6"
type: vxlan
options:
{key=flow, local_ip="192.168.2.3", remote_ip="192.168.2.2"}
Port "TUNNEL:1"
Interface "TUNNEL:1"
type: vxlan
options:
{key=flow, local_ip="192.168.2.3", remote_ip="192.168.2.4"}
ovs_version: "2.4.0"
Warning: Permanently added 'node-14,192.168.0.4' (ECDSA) to the list of known hosts.
7ef6c580-a288-4636-ba15-ff344ecc30aa
Manager "tcp:192.168.0.3:6640"
is_connected: true
Bridge br-int
Controller "tcp:192.168.0.3:6633"
is_connected: true
Port br-int
Interface br-int
type: internal
ovs_version: "2.4.0"
Warning: Permanently added 'node-16,192.168.0.6' (ECDSA) to the list of known hosts.
a68a0f20-3913-4650-88a3-a76eb5017bb9
Manager "tcp:192.168.0.3:6640"
is_connected: true
Bridge br-int
Controller "tcp:192.168.0.3:6633"
is_connected: true
Port br-int
Interface br-int
type: internal
Port "TUNNEL:4"
Interface "TUNNEL:4"
type: vxlan
options:
{key=flow, local_ip="192.168.2.4", remote_ip="192.168.2.2"}
Port "TUNNEL:2"
Interface "TUNNEL:2"
type: vxlan
options:
{key=flow, local_ip="192.168.2.4", remote_ip="192.168.2.3"}
ovs_version: "2.4.0"
|