← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1436183] [NEW] add shared attribute in creating public network

 

Public bug reported:

This bug is created to enhance for shared attribute in creating network.


1. easy to create vm in public network.
 
2. inconsistent attribute

currently, shared attribute is set if creating provider network in
lib/neutron as:

NET_ID=$(neutron net-create $PHYSICAL_NETWORK --tenant_id $TENANT_ID
--provider:network_type $PROVIDER_NETWORK_TYPE
--provider:physical_network "$PHYSICAL_NETWORK"
${SEGMENTATION_ID:+--provider:segmentation_id $SEGMENTATION_ID} --shared
| grep ' id ' | get_field 2)

however, shared attribute is not set as:

      if [ "$Q_USE_PROVIDERNET_FOR_PUBLIC" = "True" ]; then
            EXT_NET_ID=$(neutron net-create "$PUBLIC_NETWORK_NAME" -- --router:external=True --provider:network_type=flat --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK}  | grep ' id ' | get_field 2)
        else
            EXT_NET_ID=$(neutron net-create "$PUBLIC_NETWORK_NAME" -- --router:external=True  | grep ' id ' | get_field 2)
        fi

** Affects: devstack
     Importance: Undecided
         Status: New

** Project changed: neutron => devstack

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1436183

Title:
  add shared attribute in creating public network

Status in devstack - openstack dev environments:
  New

Bug description:
  This bug is created to enhance for shared attribute in creating
  network.

  
  1. easy to create vm in public network.
   
  2. inconsistent attribute

  currently, shared attribute is set if creating provider network in
  lib/neutron as:

  NET_ID=$(neutron net-create $PHYSICAL_NETWORK --tenant_id $TENANT_ID
  --provider:network_type $PROVIDER_NETWORK_TYPE
  --provider:physical_network "$PHYSICAL_NETWORK"
  ${SEGMENTATION_ID:+--provider:segmentation_id $SEGMENTATION_ID}
  --shared | grep ' id ' | get_field 2)

  however, shared attribute is not set as:

        if [ "$Q_USE_PROVIDERNET_FOR_PUBLIC" = "True" ]; then
              EXT_NET_ID=$(neutron net-create "$PUBLIC_NETWORK_NAME" -- --router:external=True --provider:network_type=flat --provider:physical_network=${PUBLIC_PHYSICAL_NETWORK}  | grep ' id ' | get_field 2)
          else
              EXT_NET_ID=$(neutron net-create "$PUBLIC_NETWORK_NAME" -- --router:external=True  | grep ' id ' | get_field 2)
          fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1436183/+subscriptions


Follow ups

References