You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/03/16 11:10:52 UTC

[GitHub] [cloudstack] nvazquez commented on a change in pull request #5977: Synchronization of network devices on newly added hosts for Persistent Networks

nvazquez commented on a change in pull request #5977:
URL: https://github.com/apache/cloudstack/pull/5977#discussion_r827889263



##########
File path: test/integration/component/test_persistent_networks.py
##########
@@ -230,6 +231,116 @@ def tearDown(self):
             raise Exception("Warning: Exception during cleanup : %s" % e)
         return
 
+    '''
+    Verifies creation of bridge on KVM host
+    '''
+    def verify_bridge_creation(self, host, vlan_id):
+        username = self.hostConfig["username"]
+        password = self.hostConfig["password"]
+        try:
+            ssh_client = self.get_ssh_client(host.ipaddress, username, password)
+            res = ssh_client.execute("ip addr | grep breth0-" + str(vlan_id) + " > /dev/null 2>&1; echo $?")

Review comment:
       Minor note: in my tests the bridge name was not this, but `breth1-<VLAN>`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org