[VPNSERVICE-66] Ping test is FAILED from DC-GW to Invisible IP -Enterprise Network Host Created: 22/Apr/16  Updated: 19/Oct/17  Resolved: 26/Apr/16

Status: Resolved
Project: vpnservice
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Suraj Ranjan Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Severity: normal
External issue ID: 5781

 Description   

EFFECT:
Ping test is FAILED from DC-GW to Invisible IP -Enterprise Network Host IP.

DESCRIPTION:
Test Topology:
===============
N1-S1-VM1,N2-S2-VM3,N3-S3-VM5 on ComputeNode1 is connected to DPN1/ComputeNode1

N1-S1-VM2,N2-S2-VM4,N3-S3-VM6 on ComputeNode2 is connected to DPN2/ComputeNode2

CBA Controller Setup with 2SC's and 3PL's.

Steps To Be Reproduce:
=======================
1. http://10.184.22.165:8181/restconf/config/itm:transport-zones/
{
"transport-zone": [
{
"zone-name": "TZA",
"subnets": [
{
"prefix": "17.17.17.0/24",
"vlan-id": 0,
"vteps": [

{ "dpn-id": 156641672882252, "portname": "phy1", "ip-address": "17.17.17.43" }

,

{ "dpn-id": 41989153650249, "portname": "phy1", "ip-address": "17.17.17.44" }

],
"gateway-ip": "0.0.0.0"
}
],
"tunnel-type": "odl-interface:tunnel-type-gre"
}
]
}
2. http://10.184.22.165:8181/restconf/operations/itm-rpc:add-external-tunnel-endpoint
{"input" :

{ "destination-ip" : "17.17.17.23", "tunnel-type" : "odl-interface:tunnel-type-mpls-over-gre" }

}
3. http://10.184.22.165:8181/restconf/config/ebgp:bgp/as-id/
{as-id:{local-as:100,router-id:'17.17.17.3'}}
4. http://10.184.22.16:8181/restconf/config/ebgp:bgp/neighbors/17.17.17.23/
{neighbors:{address:17.17.17.23,remote-as:100}}
5. source openrc admin admin
export IMAGE=cirros-0.3.4-x86_64-uec
neutron net-create mynet1
neutron subnet-create mynet1 10.0.0.0/24 --enable-dhcp --name net1-snet1
neutron port-create mynet1 --name myport11
neutron port-create mynet1 --name myport12
neutron net-create mynet2
neutron subnet-create mynet2 20.0.0.0/24 --enable-dhcp --name net2-snet2
neutron port-create mynet2 --name myport21
neutron port-create mynet2 --name myport22
neutron net-create mynet3
neutron subnet-create mynet3 30.0.0.0/24 --enable-dhcp --name net3-snet3
neutron port-create mynet3 --name myport31
neutron port-create mynet3 --name myport32
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport11' | awk '

{print $2}') myhost11 --availability-zone nova:ubuntu-255-160
sleep 15
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}

') myhost12 --availability-zone nova:ubuntu-255-161
sleep 15
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport21' | awk '

{print $2}') myhost21 --availability-zone nova:ubuntu-255-160
sleep 15
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport22' | awk '{print $2}

') myhost22 --availability-zone nova:ubuntu-255-161
sleep 15
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport31' | awk '

{print $2}') myhost31 --availability-zone nova:ubuntu-255-160
sleep 15
nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport32' | awk '{print $2}

') myhost32 --availability-zone nova:ubuntu-255-161
6. neutron router-create Router1
neutron router-interface-add Router1 net2-snet2
neutron router-interface-add Router1 net3-snet3
7. Create L3VPN instance
{"input" : {
"l3vpn" : [

{ "id": "4ae8cd92-48ca-49b5-94e1-b2921a200001", "name": "vpn1", "route-distinguisher": ["100:1"], "export-RT": ["100:1"], "import-RT": ["100:1"], "tenant-id": "de0a7495-05c4-4be0-b796-1412835c6820" }

]
}
}
8. Associate N1 to L3VPN
{
"input" :

{ "vpn-id": "4ae8cd92-48ca-49b5-94e1-b2921a200001", "network-id":["28e4cda2-bd1b-4250-924b-7b5da12c3626"] }

}
9 Associate Router to L3VPN
{"input" :

{ "vpn-id": "4ae8cd92-48ca-49b5-94e1-b2921a200001", "router-id":"b33c233b-4f9d-45eb-a664-d76266c97dd9" }

}
10. Created Invisible IP in N1-VM1-DPN1 and N2-VM3-DPN2
11. Ping test from DC-GW to Invisible IP is FAILED.

Expected Results:
Ping Test should be PASSED.



 Comments   
Comment by Suraj Ranjan [ 26/Apr/16 ]

https://git.opendaylight.org/gerrit/37997

This review fixed the issue addressed below.

Generated at Wed Feb 07 20:47:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.