[Openstack] Question about "tenant_network_types"

Mengert, Robert Robert.Mengert at charter.com
Mon Oct 27 19:43:16 UTC 2014


Is there a way to list both tenant types in all of the config files and then select which protocol to use when creating a network?

Thanks,
Rob

From: Danny Choi (dannchoi) [mailto:dannchoi at cisco.com]
Sent: Thursday, October 09, 2014 6:38 AM
To: Remo Mattei
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Question about "tenant_network_types"

How to do that?  I don’t see the option to specify the network type when creating a network.


localadmin at qa4:~/devstack$ neutron help net-create

usage: neutron net-create [-h] [-f {shell,table,value}] [-c COLUMN]

                          [--max-width <integer>] [--prefix PREFIX]

                          [--request-format {json,xml}]

                          [--tenant-id TENANT_ID] [--admin-state-down]

                          [--shared]

                          NAME



Create a network for a given tenant.



positional arguments:

  NAME                  Name of network to create.



optional arguments:

  -h, --help            show this help message and exit

  --request-format {json,xml}

                        The XML or JSON request format.

  --tenant-id TENANT_ID

                        The owner tenant ID.

  --admin-state-down    Set admin state up to false.

  --shared              Set the network as shared.



output formatters:

  output formatter options



  -f {shell,table,value}, --format {shell,table,value}

                        the output format, defaults to table

  -c COLUMN, --column COLUMN

                        specify the column(s) to include, can be repeated



table formatter:

  --max-width <integer>

                        Maximum display width, 0 to disable



shell formatter:

  a format a UNIX shell can parse (variable="value")



  --prefix PREFIX       add a prefix to all variable names





Thanks,

Danny

From: Remo Mattei <remo at italy1.com<mailto:remo at italy1.com>>
Date: Wednesday, October 8, 2014 at 11:21 PM
To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
Cc: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] Question about "tenant_network_types"

You can use any of these to create networks.

Inviato da iPhone ()

Il giorno 08/ott/2014, alle ore 17:02, Danny Choi (dannchoi) <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> ha scritto:
Hi,

In ml2_conf.ini file, what does it mean when the attribute “tenant_network_types” is set to multiple values?

E.g. tenant_network_types = vlan,gre,vxlan

Thanks,
Danny
!DSPAM:1,5435d1b8166764788126840!
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


!DSPAM:1,5435d1b8166764788126840!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141027/7151cf26/attachment.html>


More information about the Openstack mailing list