<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Danny,</div>
<div><br>
</div>
<div>I can’t really say. It may be that the help doesn’t differentiate between a user with admin rights or a regular user. Also, if you *don’t* specify those attributes as an admin user, then the network that’s created is bound to the same “limitations" as
 a non-admin user (ie. What ever is defined in tenant_network_type).</div>
<div><br>
</div>
<div>James</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"Danny Choi (dannchoi)" <<a href="mailto:dannchoi@cisco.com">dannchoi@cisco.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, October 3, 2014 at 8:16 AM<br>
<span style="font-weight:bold">To: </span>James Denton <<a href="mailto:james.denton@rackspace.com">james.denton@rackspace.com</a>>, "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Cc: </span>"bxb-openstack-dev(mailer list)" <<a href="mailto:bxb-openstack-dev@cisco.com">bxb-openstack-dev@cisco.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack] What is the difference between provider network and tenant network?<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0);">
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Hi James,</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Thanks for the explanation.</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Another question.  As user admin, I do not see these attributes shown in the help text of “neutron net-create”.  Why?</div>
<ul>
<li><span style="font-family: Tahoma; font-size: 13px;">provider:network_type</span></li><li><span style="font-family: Tahoma; font-size: 13px;">provider:physical_network</span></li><li><span style="font-family: Tahoma; font-size: 13px;">provider:segmentation_id</span></li><li><span style="font-family: Tahoma; font-size: 13px;">router:external</span></li></ul>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">ubuntu@trusty1:~/devstack$ source openrc admin admin</div>
<div>
<p style="margin: 0px;">ubuntu@trusty1:~/devstack$ neutron help net-create</p>
<p style="margin: 0px;">usage: neutron net-create [-h] [-f {shell,table,value}] [-c COLUMN]</p>
<p style="margin: 0px;">                          [--max-width <integer>] [--prefix PREFIX]</p>
<p style="margin: 0px;">                          [--request-format {json,xml}]</p>
<p style="margin: 0px;">                          [--tenant-id TENANT_ID] [--admin-state-down]</p>
<p style="margin: 0px;">                          [--shared]</p>
<p style="margin: 0px;">                          NAME</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">Create a network for a given tenant.</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">positional arguments:</p>
<p style="margin: 0px;">  NAME                  Name of network to create.</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">optional arguments:</p>
<p style="margin: 0px;">  -h, --help            show this help message and exit</p>
<p style="margin: 0px;">  --request-format {json,xml}</p>
<p style="margin: 0px;">                        The XML or JSON request format.</p>
<p style="margin: 0px;">  --tenant-id TENANT_ID</p>
<p style="margin: 0px;">                        The owner tenant ID.</p>
<p style="margin: 0px;">  --admin-state-down    Set admin state up to false.</p>
<p style="margin: 0px;">  --shared              Set the network as shared.</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">output formatters:</p>
<p style="margin: 0px;">  output formatter options</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">  -f {shell,table,value}, --format {shell,table,value}</p>
<p style="margin: 0px;">                        the output format, defaults to table</p>
<p style="margin: 0px;">  -c COLUMN, --column COLUMN</p>
<p style="margin: 0px;">                        specify the column(s) to include, can be repeated</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">table formatter:</p>
<p style="margin: 0px;">  --max-width <integer></p>
<p style="margin: 0px;">                        Maximum display width, 0 to disable</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">shell formatter:</p>
<p style="margin: 0px;">  a format a UNIX shell can parse (variable="value")</p>
<p style="margin: 0px; min-height: 13px;"><br>
</p>
<p style="margin: 0px;">  --prefix PREFIX       add a prefix to all variable names</p>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Thanks,</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Danny</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-size: 14px; font-family: Calibri, sans-serif;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>James Denton <<a href="mailto:james.denton@rackspace.com">james.denton@rackspace.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, October 2, 2014 at 11:06 PM<br>
<span style="font-weight:bold">To: </span>Danny Choi <<a href="mailto:dannchoi@cisco.com">dannchoi@cisco.com</a>>, "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Cc: </span>"bxb-openstack-dev(mailer list)" <<a href="mailto:bxb-openstack-dev@cisco.com">bxb-openstack-dev@cisco.com</a>><br>
<span style="font-weight:bold">Subject: </span>RE: [Openstack] What is the difference between provider network and tenant network?<br>
</div>
<div><br>
</div>
<div dir="ltr"><style type="text/css" id="owaParaStyle"></style>
<div style="word-wrap:break-word; font-size:14px; font-family:Calibri,sans-serif; color:rgb(0,0,0)" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Danny,
<div><br>
</div>
<div>When 'admin' creates a network they are able to specify the following attributes:</div>
<div><br>
</div>
<div>- provider:network_type (ie. vxlan, gre, vlan, flat, local)</div>
<div>- provider:segmentation_id (ie. 802.1q tag, gre key, vxlan vni)</div>
<div>- provider:physical_network (ie. provider label of the physical interface - physnet1, ph-eth1, etc)</div>
<div><br>
</div>
<div>The following attribute that allows the network to be used as an external network of a router:</div>
<div>- router:external (ie. true/false)</div>
<div><br>
</div>
<div>The following attribute that allows the network to be shared amongst tenants:</div>
<div>- shared (ie. true/false)</div>
<div><br>
</div>
<div>A tenant does not have the ability to specify any of those attributes. If they try, they will be rejected.
<span style="font-family: Tahoma; font-size: 10pt;">Tenants should have no visibility into the 'type' of networks they create, and are in fact limited to particular network types and IDs that are specified in the plugin configuration file or ml2_conf.ini.  </span><span style="font-family: Tahoma; font-size: 10pt;">I
 believe the configuration options are 'tenant_network_type' and 'network_vlan_ranges'.
</span><span style="font-family: Tahoma; font-size: 10pt;">That is why you do not see the provider attributes as the tenant, even though they technically exist for ALL networks, regardless of who created them.</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;"><br>
</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;">Admin users are not restricted by the options in the config file, and can create a network using any network type or segmentation ID that they choose.</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;"><br>
</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;">In Horizon, you will likely only see networks owned by the tenant when you go to the 'Project' tab. In the 'Admin' tab, you would see all networks.</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;"><br>
</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;">Hope that helps,</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;">James</span></div>
<div><span style="font-family: Tahoma; font-size: 10pt;"><br>
</span></div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF194893" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Danny Choi (dannchoi) [<a href="mailto:dannchoi@cisco.com">dannchoi@cisco.com</a>]<br>
<b>Sent:</b> Thursday, October 02, 2014 8:14 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<b>Cc:</b> bxb-openstack-dev(mailer list)<br>
<b>Subject:</b> [Openstack] What is the difference between provider network and tenant network?<br>
</font><br>
</div>
<div></div>
<div>
<div style="color:rgb(0,0,0)">Hi,</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">I used devstack to deploy Juno OpenStack.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">By default, devstack created 2 users: admin (with role “admin”) and demo.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ source openrc admin admin</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ keystone user-list</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+---------+---------+------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">|                id                |   name  | enabled |      email       |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+---------+---------+------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 3f09f4a2e2e5476681f7726d1bd7a238 | 
<span style="background-color:rgb(255,255,0)">admin</span>  |   True  |                  |  
<span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| f9b63fc02a2c41c4a99508215d34698e |  cinder |   True  |                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| b31235476f904c968a48a6ed13a4423d |  
<span style="background-color:rgb(255,255,0)">demo </span> |   True  | <a href="mailto:demo@example.com">
demo@example.com</a> |   <span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 1379192fe5f7427db0b9550f31ae3c8d |  glance |   True  |                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 349ef723ec7e40c6bd4b8d8284696a04 |   heat  |   True  |                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| db2c4d82c9154d4eb58b3308041e8280 | neutron |   True  |                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 87becace86e2459493a5e692b47374a8 |   nova  |   True  |                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+---------+---------+—————————+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ keystone user-role-list --user admin --tenant admin</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">|                id                |       name       |             user_id              |            tenant_id             |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 9fe2ff9ee4384b1894a90878d3e92bab |     _member_     | 3f09f4a2e2e5476681f7726d1bd7a238 | db81f81239f54d5d89293dacc7a284d2 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 2c9362c08a224154bdcaeee35d740ddc |     
<span style="background-color:rgb(255,255,0)">admin</span>       | 3f09f4a2e2e5476681f7726d1bd7a238 | db81f81239f54d5d89293dacc7a284d2 |  
<span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| b2419a321cae46ab9d11d2e126502271 | heat_stack_owner | 3f09f4a2e2e5476681f7726d1bd7a238 | db81f81239f54d5d89293dacc7a284d2 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ keystone user-role-list --user demo --tenant demo</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">|                id                |       name       |             user_id              |            tenant_id             |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 12ff05c09c5d4d1a8cf15d35f84f7a75 |      Member      | b31235476f904c968a48a6ed13a4423d | 181003e05ad44b688925372d97b985c0 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 9fe2ff9ee4384b1894a90878d3e92bab |     _member_     | b31235476f904c968a48a6ed13a4423d | 181003e05ad44b688925372d97b985c0 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 21fcd6d7847f44e6a3b9ad777a27f811 |   anotherrole    | b31235476f904c968a48a6ed13a4423d | 181003e05ad44b688925372d97b985c0 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| b2419a321cae46ab9d11d2e126502271 | heat_stack_owner | b31235476f904c968a48a6ed13a4423d | 181003e05ad44b688925372d97b985c0 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo"></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+------------------+----------------------------------+----------------------------------+</p>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">There are 2 networks created, public (tenant = admin) and private (tenant = demo).</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ keystone tenant-list</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+--------------------+---------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">|                id                |        name        | enabled |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+--------------------+---------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| <span style="background-color:rgb(255,255,0)">
db81f81239f54d5d89293dacc7a284d2</span> |       <span style="background-color:rgb(255,255,0)">
admin </span>       |   True  |   <span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| <span style="background-color:rgb(0,255,0)">
181003e05ad44b688925372d97b985c0</span> |        <span style="background-color:rgb(0,255,0)">
demo</span>        |   True  |   <span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| f170d762ab2c471d9a9f522116f8a178 | invisible_to_admin |   True  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| d500c4a4ec3d459abfe665bfb886a881 |      service       |   True  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+----------------------------------+--------------------+---------+</p>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-list</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+----------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id                                   | name    | subnets                                            |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+----------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 5e05170c-ae6c-4b60-8f59-8a6988705ff2 | public  | 3eb289a4-9686-4a94-a928-8d5ae23b1dd6 172.24.4.0/24 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| b18a4a3f-7167-4c61-87f5-b21f87118160 | private | 3f5b84c5-937e-44ae-b645-64758386a501 10.0.0.0/24   |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+----------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-show public</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| Field                     | Value                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| admin_state_up            | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id                        | 5e05170c-ae6c-4b60-8f59-8a6988705ff2 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| name                      | public                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:network_type     | vlan                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:physical_network | physnet1                             |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:segmentation_id  | 391                                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| router:external           | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| shared                    | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| status                    | ACTIVE                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| subnets                   | 3eb289a4-9686-4a94-a928-8d5ae23b1dd6 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| tenant_id                 |
<span style="background-color:rgb(255,255,0)">db81f81239f54d5d89293dacc7a284d2</span>     |  
<span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-show private</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| Field                     | Value                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| admin_state_up            | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id                        | b18a4a3f-7167-4c61-87f5-b21f87118160 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| name                      | private                              |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:network_type     | vlan                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:physical_network | physnet1                             |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| provider:segmentation_id  | 390                                  |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| router:external           | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| shared                    | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| status                    | ACTIVE                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| subnets                   | 3f5b84c5-937e-44ae-b645-64758386a501 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| tenant_id                 |
<span style="background-color:rgb(0,255,0)">181003e05ad44b688925372d97b985c0</span>     |  
<span style="background-color:rgb(255,255,0)"><<<<<</span></p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Notice both networks contain the provider info: </div>
<ul style="color:rgb(0,0,0)">
<li>provider:network_type</li><li>provider:physical_network</li><li>provider:segmentation_id</li></ul>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">However, if I change the credentials to demo, these provider info disappear.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ source openrc demo demo</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-list</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+--------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id                                   | name    | subnets                                          |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+--------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| 5e05170c-ae6c-4b60-8f59-8a6988705ff2 | public  | 3eb289a4-9686-4a94-a928-8d5ae23b1dd6             |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| b18a4a3f-7167-4c61-87f5-b21f87118160 | private | 3f5b84c5-937e-44ae-b645-64758386a501 10.0.0.0/24 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+--------------------------------------+---------+--------------------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-show public</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| Field           | Value                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| admin_state_up  | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id              | 5e05170c-ae6c-4b60-8f59-8a6988705ff2 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| name            | public                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| router:external | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| shared          | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| status          | ACTIVE                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| subnets         | 3eb289a4-9686-4a94-a928-8d5ae23b1dd6 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| tenant_id       | db81f81239f54d5d89293dacc7a284d2     |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-show private</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| Field           | Value                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| admin_state_up  | True                                 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| id              | b18a4a3f-7167-4c61-87f5-b21f87118160 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| name            | private                              |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| router:external | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| shared          | False                                |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| status          | ACTIVE                               |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| subnets         | 3f5b84c5-937e-44ae-b645-64758386a501 |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">| tenant_id       | 181003e05ad44b688925372d97b985c0     |</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">+-----------------+--------------------------------------+</p>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Why the provider info does not exist?</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Also, as user demo, I cannot create a network with the provider info specified, which is possible if it is user admin.  Why?</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ source openrc demo demo</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-create demo_network --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 399</p>
<p style="margin:0px; font-size:11px; font-family:Menlo"><font color="#ff0000">Forbidden (HTTP 403) (Request-ID: req-fd2453a8-f82b-410c-9085-e487a4a29694)       <<<<<</font></p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ source openrc admin admin</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-create admin_network --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 399</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Created a new network:</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| Field                     | Value                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| admin_state_up            | True                                 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| id                        | df176962-8c61-4621-ac3a-e978a56b1933 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| name                      | admin_network                        |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:network_type     | vlan                                 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:physical_network | physnet1                             |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:segmentation_id  | 399                                  |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| router:external           | False                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| shared                    | False                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| status                    | ACTIVE                               |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| subnets                   |                                      |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| tenant_id                 | db81f81239f54d5d89293dacc7a284d2     |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">ubuntu@trusty1:~/devstack$ neutron net-show admin_network</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| Field                     | Value                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| admin_state_up            | True                                 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| id                        | df176962-8c61-4621-ac3a-e978a56b1933 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| name                      | admin_network                        |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:network_type     | vlan                                 |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:physical_network | physnet1                             |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| provider:segmentation_id  | 399                                  |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| router:external           | False                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| shared                    | False                                |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| status                    | ACTIVE                               |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| subnets                   |                                      |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">| tenant_id                 | db81f81239f54d5d89293dacc7a284d2     |</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">+---------------------------+--------------------------------------+</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Is it true that to create a provider network, the user has to have the “admin” role?</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">###########</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Also, in Horizon dashboard, I logged in as user admin.</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">From the Projects pulldown, select admin.</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">At the left pane, Project->Network->Networks, only the “public" network is shown.</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Admin->System->Networks, both “public” and “private” networks are shown.</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">From the Projects pulldown, select demo.</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">At the left pane, Project->Network->Networks, only the “private" network is shown.</p>
<p style="margin:0px; font-size:11px; font-family:Menlo">Admin->System->Networks, both “public” and “private” networks are shown.</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Is this an expected behavior?  </p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo"><br>
</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Thanks,</p>
<p style="color:rgb(0,0,0); margin:0px; font-size:11px; font-family:Menlo">Danny</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</span>
</body>
</html>