10 Commits

Author SHA1 Message Date
John Bampton
11d45654a6
misc: fix spelling (#7206)
This PR fixes spellings
2023-05-23 11:06:16 +05:30
Wei Zhou
09fce75047
OVS/GRE: bug fixes (#5446)
* OVS/GRE: fix failed to fetch cloudbr* info on host

* OVS/GRE: move ovstunnel.py to python3

* OVS: add test_privategw_acl_ovs_gre.py for automatic testing

(1) VR <-> VM should work
(2) Private GW should work

* OVS: fix an issue on xenserver

ovs bridges are deleted by xenserver/ovs automatically
```
[root@ref-trl-1797-x-M7-wei-zhou-xs2 ~]# grep -r xapi7 /var/log/ |grep del-br
/var/log/xensource.log:Sep 15 07:13:44 ref-trl-1797-x-M7-wei-zhou-xs2 xcp-networkd: [ info|localhost|611 |org.xen.xapi.xenops.classic events D:4a3d931cd89f|network_utils] /usr/bin/ovs-vsctl --timeout=20 -- --if-exists del-br xapi7
/var/log/daemon.log:Sep 15 07:13:45 ref-trl-1797-x-M7-wei-zhou-xs2 ovs-vsctl: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- --if-exists del-br xapi7
```

which results that xe network exists but bridge does not exist, and operation stuck for 20 minutes at
```
2021-09-15 16:06:56    DEBUG [root] #### VMOPS enter  create_tunnel ####
2021-09-15 16:06:56    DEBUG [root] Creating tunnel from host 2 to host 1 with GRE key 2116
2021-09-15 16:06:56    DEBUG [root] Executing:['/usr/bin/ovs-vsctl', '--timeout=0', 'wait-until', 'bridge', 'xapi7', '--', 'get', 'bridge', 'xapi7', 'name']
2021-09-15 16:26:56    DEBUG [root] bridge xapi7 for creating tunnel - VERIFIED
2021-09-15 16:26:56    DEBUG [root] Executing:['/usr/bin/ovs-vsctl', 'add-port', 'xapi7', 't2116-2-1', '--', 'set', 'interface', 't2116-2-1', 'type=gre', 'options:key=2116', 'options:remote_ip=10.0.34.230']
```

* OVS/GRE: component test test_vpc_distributed_routing_offering.py passes on xenserver

* OVS: support Shared network with GRE protocol

* update #5446: use lang3.StringUtils

* OVS/GRE: VPC with distributed routing on kvm (still not working)
2021-10-03 14:47:52 +05:30
Gaurav Aradhye
6827d677a4 CLOUDSTACK-7407: Skip tests if physical network does not have OVS provider support 2014-09-01 13:33:38 +05:30
Girish Shilamkar
9bab1c8550 Fixing vpc distributed test cases 2014-08-05 11:09:21 +05:30
SrikanteswaraRao Talluri
2f02abf364 Fixed failed tests in regression tests. 2014-04-11 12:11:50 +05:30
SrikanteswaraRao Talluri
ca67e25f23 CLOUDSTACK-6316: fixed test data and their references in the test files and few more fixes in tests 2014-04-11 11:43:38 +05:30
SrikanteswaraRao Talluri
94fc4bf6bd CLOUDSTACK-6316: fixes for bvt failures 2014-04-11 02:28:49 +05:30
SrikanteswaraRao Talluri
f866bb21e6 CLOUDSTACK-6316: Fixed component and smoke test failures-third pass 2014-04-10 13:20:13 +05:30
SrikanteswaraRao Talluri
b83407fca3 CLOUDSTACK-6316: Fixed component and smoke test failures-second pass 2014-04-09 19:53:50 +05:30
Murali Reddy
015b667c6a integration tests for VPC's enabled for distributed routing 2014-03-14 16:56:38 +05:30