commit | 6cb4867a83c11bd73a555f2e71d60e26e0bf8e91 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Thu Jul 01 00:16:34 2021 +0900 |
committer | Jian Li <pyguni@gmail.com> | Wed Jun 30 15:59:41 2021 +0000 |
tree | f9f1fa08009aab8811ae842e3dd5c9da8af8a683 | |
parent | 56f241be23ebb2dbefc26192457f136be89e5dae [diff] |
Fix: try to create patch ports when tenant bridge is existed Change-Id: Iee8f3c68c9586c6726f69cce20f650de6ecbf687 (cherry picked from commit b47eba7f557f26109f47de4f0872eafbc874c9b1)
diff --git a/apps/kubevirt-networking/app/src/main/java/org/onosproject/kubevirtnetworking/impl/KubevirtNetworkHandler.java b/apps/kubevirt-networking/app/src/main/java/org/onosproject/kubevirtnetworking/impl/KubevirtNetworkHandler.java index 28bf182..241b3c5 100644 --- a/apps/kubevirt-networking/app/src/main/java/org/onosproject/kubevirtnetworking/impl/KubevirtNetworkHandler.java +++ b/apps/kubevirt-networking/app/src/main/java/org/onosproject/kubevirtnetworking/impl/KubevirtNetworkHandler.java
@@ -229,7 +229,6 @@ if (tenantBridge != null && deviceService.isAvailable(tenantBridge.id())) { log.warn("The tenant bridge {} already exists at node {}", network.tenantBridgeName(), node.hostname()); - setDefaultRulesForTenantNetwork(node, network); return; }