cloudstack/plugins/network-elements
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
..
bigswitch cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
brocade-vcs Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
cisco-vnmc Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
dns-notifier Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
elastic-loadbalancer Follow consistent vo table name convention (#5004) 2021-06-24 16:46:50 -03:00
f5 Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
globodns Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
internal-loadbalancer Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
juniper-contrail kubernetes: Deploy kubernetes-provider when creating a cluster (#5254) 2021-08-09 14:45:20 +05:30
juniper-srx Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
netscaler Follow consistent vo table name convention (#5004) 2021-06-24 16:46:50 -03:00
nicira-nvp Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
opendaylight Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
ovs OVS/GRE: bug fixes (#5446) 2021-10-03 14:47:52 +05:30
palo-alto Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
stratosphere-ssp Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00
vxlan Updating pom.xml version numbers for release 4.16.0.0-SNAPSHOT 2021-01-04 11:32:10 +00:00