]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Move a note to bridge_lib
authorCedric Brandily <zzelle@gmail.com>
Wed, 25 Nov 2015 21:17:52 +0000 (22:17 +0100)
committerCedric Brandily <zzelle@gmail.com>
Thu, 26 Nov 2015 17:20:26 +0000 (17:20 +0000)
This change moves a note from linuxbridge agent[1] to bridge_lib which
was forgotten in a previous change[2].

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[2] Ieccb8f77fc833467a166557e227023f5c2a50d1b

Partial-Bug: #1514548
Change-Id: I1562b75ce07eec280824cdfe6b8aba80c9d9170c

neutron/agent/linux/bridge_lib.py
neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py

index 6a093da0189a8f53a4eca7559cd45e5b5cfbf352..13610f4cf884910c5acf867bc43bb10e2017e5a4 100644 (file)
@@ -20,6 +20,8 @@ import os
 
 from neutron.agent.linux import ip_lib
 
+# NOTE(toabctl): Don't use /sys/devices/virtual/net here because not all tap
+# devices are listed here (i.e. when using Xen)
 BRIDGE_FS = "/sys/class/net/"
 BRIDGE_INTERFACE_FS = BRIDGE_FS + "%(bridge)s/brif/%(interface)s"
 BRIDGE_INTERFACES_FS = BRIDGE_FS + "%s/brif/"
index 9036e27fb8ecb934b4b17702c100881205002106..3d0a3c31b67d5f19dcff9bc31a5cb8cfedb7f082 100644 (file)
@@ -58,8 +58,6 @@ from neutron.plugins.ml2.drivers.linuxbridge.agent.common \
 LOG = logging.getLogger(__name__)
 
 BRIDGE_NAME_PREFIX = "brq"
-# NOTE(toabctl): Don't use /sys/devices/virtual/net here because not all tap
-# devices are listed here (i.e. when using Xen)
 VXLAN_INTERFACE_PREFIX = "vxlan-"