OSDN Git Service

add VethAgent
[ti2/ti2.git] / linkpair / collect / agent / ovs_agent.py
index f84a506..e2d3ff3 100755 (executable)
@@ -129,7 +129,8 @@ class OVSAgent(BaseAgent):
                             # physical interface
                             if self._u.d_push(re.match(r'^eth\d+$', port)) \
                                 or self._u.d_push(re.match(r'^em\d+$', port)) \
-                                    or self._u.d_push(re.match(r'^igb\d+$', port)):
+                                    or self._u.d_push(re.match(r'^igb\d+$', port)) \
+                                        or self._u.d_push(re.match(r'^bond\d+$', port)):
                                 self._cu._port_to_br[port] = br_src
                                 self._cu.add_linkpair(
                                     Device(br_src, Device.BR_TYPE, br_src_meta),