test_port_security_macspoofing_port should not use dhcp port

Bug #1521224 reported by YAMAMOTO Takashi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
YAMAMOTO Takashi

Bug Description

dhcp port is an implementation detail of the reference implementation.
it's better for port-sec test independent from it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/251423

Changed in tempest:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
Yair Fried (yfried) wrote :

Do you have an example where the secondary network ("new_net") wouldn't have a dhcp port?

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Yair,

for example, midonet has an alternative dhcp and metadata proxy implementation [1]
which doesn't use neutron dhcp agent. (note that dhcp port is created by neutron dhcp agent.)

[1] https://github.com/midonet/midonet/blob/master/docs/openstack-metadata-usage.md

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/251423
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=c3978419bf1e368afd00fb06bf27afd0d6ecc3a6
Submitter: Jenkins
Branch: master

commit c3978419bf1e368afd00fb06bf27afd0d6ecc3a6
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Nov 30 23:55:56 2015 +0900

    test_port_security_macspoofing_port: Don't assume DHCP port

    DHCP port is a detail of the reference implementation.
    Non agent based implementations might not provide it.
    Anyway, as the purpose of this test case is to test
    port-security, not DHCP, it's better to avoid assuming
    the existance of DHCP port. Use an ordinary VM instead.

    Closes-Bug: #1521224
    Change-Id: I84a69c6b3d81218ba7811332d936cb891bdff353

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.