Comment 1 for bug 1457569

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/227711
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=aa8a4d6b34ca8dfcdfee7a5ac55997a093e38255
Submitter: Jenkins
Branch: master

commit aa8a4d6b34ca8dfcdfee7a5ac55997a093e38255
Author: Chandra S Vejendla <email address hidden>
Date: Fri Sep 25 00:38:27 2015 -0700

    Neutron VTEP integration

    This patch adds support for integrating VTEPs in neutron. The idea is to
    use the "--binding-profile" parameter in port-create to specify the VTEP
    details.

    neutron port-create --binding-profile
    '{"vtep_physical_switch":"PSW1","vtep_logical_switch":"LSW1"}' private

    The above command will result in creation of a row in OVN NB Logical
    Port table with type column set
     to 'vtep', the option column set to
     'vtep_physical_switch:"PSW1",vtep_logical_switch:"LSW1"', macs column
      set to [unknown] and port_securtiy column set to []

    _uuid enabled external_ids
    macs name options
    parent_name port_security tag type up
    ------------------------------------ ------- ------------------------
    --------------------- --------------------------------------
    --------------------------------------------------------- -----------
    --------------------- --- ---- -----
    547934d0-8069-455d-b064-105a8d3455ea true {"neutron:port_name"=""}
    [unknown] "e1b8a373-516d-43df-8cd5-de16341c466b"
    {vtep_logical_switch="LSW1", vtep_physical_switch="PSW1"} [] []
    [] vtep false

    Also added few unit test cases

    Change-Id: I6b642af74fc693bb92c3475fb862c3bf7477213c
    Co-Authored-By: Amitabha Biswas <email address hidden>
    Related-Bug: #1457569