|
Topology
========
3 CN and Six VM's, two running on CN-1, CN-2 and CN-3 respectively
Testcase Description
====================
1) Configure 6 VMs, two on each CN
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port1 |awk '
{print $2}') NOVA_VM1 --availability-zone nova:Ubuntu-97
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port2 |awk '{print $2}
') NOVA_VM2 --availability-zone nova:Ubuntu-97
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port3 |awk '
{print $2}') NOVA_VM3 --availability-zone nova:Ubuntu-98
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port4 |awk '{print $2}
') NOVA_VM4 --availability-zone nova:Ubuntu-98
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port5 |awk '
{print $2}') NOVA_VM5 --availability-zone nova:Ubuntu-63
nova boot --image cirros-0.3.4-x86_64-uec --flavor myhuge --nic port-id=$(neutron port-list | grep Network1_Port6 |awk '{print $2}
') NOVA_VM6 --availability-zone nova:Ubuntu-63
2)Create an extra route configured and pointing to four of the VM's
neutron bgpvpn-create – --route-distinguishers list=true 100:1 101:1 --export-targets list=true 300:10 400:20 --import-targets list=true 300:10 400:20 --route-targets list=true 100:1 101:1 --name VPN1
neutron bgpvpn-router-assoc-create VPN1 --router $(neutron router-list |grep '\sRouter1' |awk '
{print $2}
')
neutron router-update ROUTER1 --routes type=dict list=true destination=200.0.0.0/24,nexthop=10.10.10.2 destination=200.0.0.0/24,nexthop=10.10.10.3 destination=201.0.0.0/24,nexthop=10.10.10.4 destination=201.0.0.0/24,nexthop=10.10.10.5 destination=200.0.0.0/24,nexthop=10.10.10.4
neutron router-show Router1
neutron router-show Router1
-------------------------------------------------------------------------------+
-------------------------------------------------------------------------------+
| admin_state_up |
True |
| description |
|
| distributed |
False |
| external_gateway_info |
|
| id |
ee9009b0-e00d-4006-92a6-ceef8af8a124 |
| name |
Router1 |
| routes |
{"destination": "200.0.0.0/24", "nexthop": "10.10.10.2"} |
| |
{"destination": "200.0.0.0/24", "nexthop": "10.10.10.3"} |
| |
{"destination": "200.0.0.0/24", "nexthop": "10.10.10.4"} |
| |
{"destination": "201.0.0.0/24", "nexthop": "10.10.10.4"} |
| |
{"destination": "201.0.0.0/24", "nexthop": "10.10.10.5"} |
| status |
ACTIVE |
| tenant_id |
8732585c35fc419ea70ac43cda4bf69d |
-------------------------------------------------------------------------------+
Flows and Groups Output
=======================
root@Ubuntu-97:/opt/Csit/test/csit/suites/SF263# flows | grep table=21
cookie=0x8000003, duration=297.763s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.5 actions=set_field:0x186a5->tun_id,set_field:fa:16:3e:33:60:54->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=297.671s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.4 actions=set_field:0x186a6->tun_id,set_field:fa:16:3e:70:25:43->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.141s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.6 actions=set_field:0x186ab->tun_id,set_field:fa:16:3e:58:45:0c->eth_dst,load:0x1100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.080s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.4 actions=set_field:0x186ac->tun_id,set_field:fa:16:3e:70:25:43->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=277.990s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.5 actions=set_field:0x186ad->tun_id,set_field:fa:16:3e:33:60:54->eth_dst,load:0x1000->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=277.848s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.8 actions=set_field:0x186af->tun_id,set_field:fa:16:3e:55:c9:9c->eth_dst,load:0x1100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=275.533s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.3 actions=group:150010
cookie=0x8000003, duration=275.441s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.2 actions=group:150006
cookie=0x8000003, duration=282.346s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x30d44/0xfffffe,nw_dst=10.10.10.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:e4:e3:52>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.10.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=300.186s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.10.0/24 actions=write_metadata:0x138a030d40/0xfffffffffe,goto_table:22
root@Ubuntu-97:/opt/Csit/test/csit/suites/SF263#
|