Merge "Log instance interface addrs in subport test"
This commit is contained in:
commit
3183082da7
|
@ -13,6 +13,7 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import netaddr
|
import netaddr
|
||||||
|
from oslo_log import log as logging
|
||||||
from tempest.common import waiters
|
from tempest.common import waiters
|
||||||
from tempest.lib.common import ssh
|
from tempest.lib.common import ssh
|
||||||
from tempest.lib.common.utils import data_utils
|
from tempest.lib.common.utils import data_utils
|
||||||
|
@ -24,6 +25,7 @@ from neutron.tests.tempest import config
|
||||||
from neutron.tests.tempest.scenario import base
|
from neutron.tests.tempest.scenario import base
|
||||||
from neutron.tests.tempest.scenario import constants
|
from neutron.tests.tempest.scenario import constants
|
||||||
|
|
||||||
|
LOG = logging.getLogger(__name__)
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
CONFIGURE_VLAN_INTERFACE_COMMANDS = (
|
CONFIGURE_VLAN_INTERFACE_COMMANDS = (
|
||||||
|
@ -236,6 +238,8 @@ class TrunkTest(base.BaseTempestTestCase):
|
||||||
# Configure VLAN interfaces on server
|
# Configure VLAN interfaces on server
|
||||||
command = CONFIGURE_VLAN_INTERFACE_COMMANDS % {'tag': vlan_tag}
|
command = CONFIGURE_VLAN_INTERFACE_COMMANDS % {'tag': vlan_tag}
|
||||||
server['ssh_client'].exec_command(command)
|
server['ssh_client'].exec_command(command)
|
||||||
|
out = server['ssh_client'].exec_command('ip addr list')
|
||||||
|
LOG.debug("Interfaces on server %s: %s", server, out)
|
||||||
|
|
||||||
# Ping from server1 to server2 via VLAN interface should fail because
|
# Ping from server1 to server2 via VLAN interface should fail because
|
||||||
# we haven't allowed ICMP
|
# we haven't allowed ICMP
|
||||||
|
|
Loading…
Reference in New Issue