Can I add/ remove multiple vlan ranges ( vlan 500- 600, 200- 250; remove 100- 
150, 300-350) by using the API?

-----Original Message-----
From: Bharat Kumar [mailto:bharat.ku...@citrix.com] 
Sent: Thursday, March 14, 2013 1:55 PM
To: cloudstack-...@incubator.apache.org
Subject: Re: [Discuss] Support for non-contiguous vlan ranges.

If the remove fails add will also fail.

Bharat.
On Mar 13, 2013, at 11:26 AM, Chiradeep Vittal <chiradeep.vit...@citrix.com> 
wrote:

> If the remove fails, will the add still succeed?
> 
> On 3/5/13 11:20 PM, "Bharat Kumar" <bharat.ku...@citrix.com> wrote:
> 
>> The changes will be atomic.
>> before removing any range we need to check if any of the vlans in the 
>> range are in use. The operation will fail if some vlans in the remove 
>> range are in use.
>> i.e. if E=100-200 (existing) U(used)=101,121,131 and remove=100-201 
>> we do not remove this range as 101,121, and 131 are being used.
>> if the admin wants to remove the reset of the range leaving the used 
>> ones he can say remove 100-100, 102-120, etc
>> 
>> I will update this in the FS.
>> 
>> Bharat.
>> 
>> On Mar 6, 2013, at 6:11 AM, Chiradeep Vittal 
>> <chiradeep.vit...@citrix.com> wrote:
>> 
>>> Will the changes be atomic? All or nothing?
>>> 
>>> Existing range E= 100-200, in use U=101,121,131 New request: 
>>> add=201-301, remove=100-201
>>> 
>>> Or
>>> E = 100-200, U=110-120
>>> A = 150-250, R=100-149
>>> 
>>> etc
>>> 
>>> On 1/24/13 10:13 PM, "Bharat Kumar" <bharat.ku...@citrix.com> wrote:
>>> 
>>>> Thank  you Manan for pointing this out i intended to say multiple 
>>>> Vlans not IPs.
>>>> I corrected it in the FS.
>>>> 
>>>> Bharat
>>>> On Jan 25, 2013, at 4:25 AM, Manan Shah <manan.s...@citrix.com> wrote:
>>>> 
>>>>> Bharat, I reviewed the FS and I have the following question. It 
>>>>> states thatÅ 
>>>>> 
>>>>> Admin can update the vlan range after creation or can add multiple 
>>>>> non contiguous vlan ranges while creating a zone. This can be done 
>>>>> by changing the UpdatephysicalNetwork api. It allows only 
>>>>> extending of the vlan. we plan to extend the api to update the 
>>>>> vlan with multiple ip Ranges.
>>>>> 
>>>>> What does it mean by "we plan to extend the API to update the VLAN 
>>>>> with multiple IP Ranges". Specifically the "Multiple IP Ranges" 
>>>>> part.
>>>>> 
>>>>> Can you clarify?
>>>>> 
>>>>> 
>>>>> Regards,
>>>>> Manan Shah
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 1/4/13 8:49 AM, "Manan Shah" <manan.s...@citrix.com> wrote:
>>>>> 
>>>>>> Bharat, I have created a JIRA ticket as well as requirements page 
>>>>>> for this requirement. Please leverage that.
>>>>>> 
>>>>>> Regards,
>>>>>> Manan Shah
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On 1/3/13 10:33 PM, "Prasanna Santhanam" <t...@apache.org> wrote:
>>>>>> 
>>>>>>> On Fri, Jan 04, 2013 at 11:37:28AM +0530, Bharat Kumar wrote:
>>>>>>>> Hi all,
>>>>>>>> 
>>>>>>>> In cloudstack we specify the vlan ranges in advanced zone. 
>>>>>>>> These vlans are used while creating the guest networks.  
>>>>>>>> Presently we can add only one continuos vlan range. There is no 
>>>>>>>> way to add non contiguous vlan ranges.
>>>>>>>> 
>>>>>>>> So we propose to add a feature to support adding multiple vlan 
>>>>>>>> ranges.
>>>>>>>> 
>>>>>>>> This feature will enable adding non contiguous vlan ranges.
>>>>>>>> 
>>>>>>> 
>>>>>>> Will it support extending the ranges in non-contiguous 
>>>>>>> increments after the zone has been created?
>>>>>>> 
>>>>>>> So I start with 100-200 and then later extend my switch and 
>>>>>>> cloudstack to do 300-400, 492 and 50-80 say?
>>>>>>> 
>>>>>>> --
>>>>>>> Prasanna.,
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 

Reply via email to