You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Janki Chhatbar <ja...@persistent.com> on 2016/05/05 06:09:57 UTC
[dev] support for SoftLayer Block storage
Hi All
Greetings for the day!
I am Janki working on Softlayer. I noticed that currently there is no support for SoftLayer Block storage in Libcloud [1].
I would like to add this or contribute to it if the work is under progress.
Waiting for opinions on adding this feature as well.
Thanking you
Janki
[1]. http://libcloud.readthedocs.io/en/latest/supported_providers.html#supported-methods-block-storage
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
Re: [dev] support for SoftLayer Block storage
Posted by Janki Chhatbar <ja...@persistent.com>.
Hi All
I am writing SoftLayer driver to support creating block storage in Libcloud. I am half way writing it and having issue in figuring out the price id for storage space.
The pseudocode is as below:
for item in self.connection.request('SoftLayer_Product_Package', 'getItems', id=240).object:
if item['description'] == '20 GB Storage Space':
for each in item['prices']:
print each
There are numerous price ids as seen from the output of the above code.
Which price id to select?
I tried using the price id "46649" obtained from below code.
{'id' : item['prices'][0]['id'] for item in items if item['description'] == '20 GB Storage Space'}
The price_id obtained is invalid as evident from the below error.
libcloud.common.softlayer.SoftLayerException: <LibcloudError in None 'SoftLayer_Exception_Order_MissingCategory: Order is missing the following category: Storage Space.'>
Any pointer in this regard will be appreciated.
Thanks
Janki
________________________________________
From: Janki Chhatbar
Sent: Thursday, May 5, 2016 11:58 AM
To: dev@libcloud.apache.org; tomaz@apache.org
Subject: RE: [dev] support for SoftLayer Block storage
Hi Tomaz
Thanks for replying.
Currently it is just an idea in my mind. I don't have any base code. Will look into it and then submit a PR.
I am very new to libcloud and any help will be very much appreciated.
Thanks
Janki
-----Original Message-----
From: Tomaz Muraus [mailto:tomaz@apache.org]
Sent: Thursday, May 05, 2016 11:54 AM
To: dev
Subject: Re: [dev] support for SoftLayer Block storage
Hello,
That would be great!
Feel free to submit a pull request with what you have right now and we will work from there :)
On Thu, May 5, 2016 at 2:09 PM, Janki Chhatbar < janki_chhatbar@persistent.com> wrote:
> Hi All
>
> Greetings for the day!
>
> I am Janki working on Softlayer. I noticed that currently there is no
> support for SoftLayer Block storage in Libcloud [1].
>
> I would like to add this or contribute to it if the work is under progress.
>
> Waiting for opinions on adding this feature as well.
>
> Thanking you
> Janki
>
> [1].
> http://libcloud.readthedocs.io/en/latest/supported_providers.html#supp
> orted-methods-block-storage
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which
> is the property of Persistent Systems Ltd. It is intended only for the
> use of the individual or entity to which it is addressed. If you are
> not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus
> infected mails.
>
>
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
Re: [dev] support for SoftLayer Block storage
Posted by Tomaz Muraus <to...@apache.org>.
No problem.
To get you started I would suggest you to look at the existing drivers and
if you have any questions, please let us know.
In addition to that, Development part of our documentation should also come
handy - https://libcloud.readthedocs.io/en/latest/development.html (it
contains information about general development and contribution flow, etc.)
On Thu, May 5, 2016 at 2:28 PM, Janki Chhatbar <
janki_chhatbar@persistent.com> wrote:
> Hi Tomaz
>
> Thanks for replying.
>
> Currently it is just an idea in my mind. I don’t have any base code. Will
> look into it and then submit a PR.
> I am very new to libcloud and any help will be very much appreciated.
>
> Thanks
> Janki
>
> -----Original Message-----
> From: Tomaz Muraus [mailto:tomaz@apache.org]
> Sent: Thursday, May 05, 2016 11:54 AM
> To: dev
> Subject: Re: [dev] support for SoftLayer Block storage
>
> Hello,
>
> That would be great!
>
> Feel free to submit a pull request with what you have right now and we
> will work from there :)
>
> On Thu, May 5, 2016 at 2:09 PM, Janki Chhatbar <
> janki_chhatbar@persistent.com> wrote:
>
> > Hi All
> >
> > Greetings for the day!
> >
> > I am Janki working on Softlayer. I noticed that currently there is no
> > support for SoftLayer Block storage in Libcloud [1].
> >
> > I would like to add this or contribute to it if the work is under
> progress.
> >
> > Waiting for opinions on adding this feature as well.
> >
> > Thanking you
> > Janki
> >
> > [1].
> > http://libcloud.readthedocs.io/en/latest/supported_providers.html#supp
> > orted-methods-block-storage
> >
> > DISCLAIMER
> > ==========
> > This e-mail may contain privileged and confidential information which
> > is the property of Persistent Systems Ltd. It is intended only for the
> > use of the individual or entity to which it is addressed. If you are
> > not the intended recipient, you are not authorized to read, retain,
> > copy, print, distribute or use this message. If you have received this
> > communication in error, please notify the sender and delete all copies
> of this message.
> > Persistent Systems Ltd. does not accept any liability for virus
> > infected mails.
> >
> >
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is
> the property of Persistent Systems Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you are not the
> intended recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this communication in
> error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus infected
> mails.
>
>
RE: [dev] support for SoftLayer Block storage
Posted by Janki Chhatbar <ja...@persistent.com>.
Hi Tomaz
Thanks for replying.
Currently it is just an idea in my mind. I don’t have any base code. Will look into it and then submit a PR.
I am very new to libcloud and any help will be very much appreciated.
Thanks
Janki
-----Original Message-----
From: Tomaz Muraus [mailto:tomaz@apache.org]
Sent: Thursday, May 05, 2016 11:54 AM
To: dev
Subject: Re: [dev] support for SoftLayer Block storage
Hello,
That would be great!
Feel free to submit a pull request with what you have right now and we will work from there :)
On Thu, May 5, 2016 at 2:09 PM, Janki Chhatbar < janki_chhatbar@persistent.com> wrote:
> Hi All
>
> Greetings for the day!
>
> I am Janki working on Softlayer. I noticed that currently there is no
> support for SoftLayer Block storage in Libcloud [1].
>
> I would like to add this or contribute to it if the work is under progress.
>
> Waiting for opinions on adding this feature as well.
>
> Thanking you
> Janki
>
> [1].
> http://libcloud.readthedocs.io/en/latest/supported_providers.html#supp
> orted-methods-block-storage
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which
> is the property of Persistent Systems Ltd. It is intended only for the
> use of the individual or entity to which it is addressed. If you are
> not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus
> infected mails.
>
>
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
Re: [dev] support for SoftLayer Block storage
Posted by Tomaz Muraus <to...@apache.org>.
Hello,
That would be great!
Feel free to submit a pull request with what you have right now and we will
work from there :)
On Thu, May 5, 2016 at 2:09 PM, Janki Chhatbar <
janki_chhatbar@persistent.com> wrote:
> Hi All
>
> Greetings for the day!
>
> I am Janki working on Softlayer. I noticed that currently there is no
> support for SoftLayer Block storage in Libcloud [1].
>
> I would like to add this or contribute to it if the work is under progress.
>
> Waiting for opinions on adding this feature as well.
>
> Thanking you
> Janki
>
> [1].
> http://libcloud.readthedocs.io/en/latest/supported_providers.html#supported-methods-block-storage
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is
> the property of Persistent Systems Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you are not the
> intended recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this communication in
> error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus infected
> mails.
>
>