Move a note to bridge_lib

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
This commit is contained in:
Cedric Brandily 2015-11-25 22:17:52 +01:00
parent 476d8ba945
commit 02f33380a8
2 changed files with 2 additions and 2 deletions

View 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/"

View 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-"