Re: [openstack-dev] [Neutron]net-create fail without definite segmentation_id

2014-05-29 Thread Xurong Yang
Hi, Henry & ZZelle
Thans a lot, I'm considering to fix it as a bug, but, a new blueprint seems
to be better, looking forward to approval.




2014-05-29 22:07 GMT+08:00 ZZelle :

> Hi,
>
> The blueprint let admins provide some provider attributes and let neutron
> the remaining attributes.
> The blueprint specification and associated implementation are under
> reviews[1].
>
> [1]
> https://review.openstack.org/#/q/topic:bp/provider-network-partial-specs,n,z
>
>
> On Thu, May 29, 2014 at 1:23 PM, Henry Gessau  wrote:
>
>> On 5/29/2014 4:41 AM, Xurong Yang wrote:
>> > Hi, stackers
>> > if i define provider when creating network, but no segmentation_id,
>> net-create fail. why not allocate segmentation_id automatically?
>> > ~$ neutron net-create test --provider:network_type=vlan
>> --provider:physical_network=default
>> > Invalid input for operation: segmentation_id required for VLAN provider
>> network.
>>
>> There is a blueprint[1] to address this, with a spec[2] and some code
>> proposed
>> that you can find by searching for
>> topic:bp/provider-network-partial-specs.
>> Only for the ML2 plugin.
>>
>> [1]
>> https://blueprints.launchpad.net/neutron/+spec/provider-network-partial-specs
>> [2] https://review.openstack.org/91540
>>
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron]net-create fail without definite segmentation_id

2014-05-29 Thread ZZelle
Hi,

The blueprint let admins provide some provider attributes and let neutron
the remaining attributes.
The blueprint specification and associated implementation are under
reviews[1].

[1]
https://review.openstack.org/#/q/topic:bp/provider-network-partial-specs,n,z


On Thu, May 29, 2014 at 1:23 PM, Henry Gessau  wrote:

> On 5/29/2014 4:41 AM, Xurong Yang wrote:
> > Hi, stackers
> > if i define provider when creating network, but no segmentation_id,
> net-create fail. why not allocate segmentation_id automatically?
> > ~$ neutron net-create test --provider:network_type=vlan
> --provider:physical_network=default
> > Invalid input for operation: segmentation_id required for VLAN provider
> network.
>
> There is a blueprint[1] to address this, with a spec[2] and some code
> proposed
> that you can find by searching for topic:bp/provider-network-partial-specs.
> Only for the ML2 plugin.
>
> [1]
> https://blueprints.launchpad.net/neutron/+spec/provider-network-partial-specs
> [2] https://review.openstack.org/91540
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron]net-create fail without definite segmentation_id

2014-05-29 Thread Henry Gessau
On 5/29/2014 4:41 AM, Xurong Yang wrote:
> Hi, stackers
> if i define provider when creating network, but no segmentation_id, 
> net-create fail. why not allocate segmentation_id automatically?
> ~$ neutron net-create test --provider:network_type=vlan 
> --provider:physical_network=default
> Invalid input for operation: segmentation_id required for VLAN provider 
> network.

There is a blueprint[1] to address this, with a spec[2] and some code proposed
that you can find by searching for topic:bp/provider-network-partial-specs.
Only for the ML2 plugin.

[1] 
https://blueprints.launchpad.net/neutron/+spec/provider-network-partial-specs
[2] https://review.openstack.org/91540


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Neutron]net-create fail without definite segmentation_id

2014-05-29 Thread Xurong Yang
Hi, stackers
if i define provider when creating network, but no segmentation_id,
net-create fail. why not allocate segmentation_id automatically?
~$ neutron net-create test --provider:network_type=vlan --provider:physical_
network=default
Invalid input for operation: segmentation_id required for VLAN provider
network.

Thanks & regards,
Xurong Yang
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev