You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Ignasi Barrera <na...@apache.org> on 2016/02/16 18:56:32 UTC

ProfitBricks ImageExtension

Hi!

Not a concern for promotion. Just a quick question.

Does the PB api allow to create images from running servers? If so, we
should open a JIRA and implement the ImageExtension (have a look at
DigitalOcean for an example).

This way, apart from being more abstraction-complete, users would be able
to: deploy vanilla image with jclouds, manually enable access, convert to
image with jclouds.

Having a way to generate login friendly images mostly using jclouds itself
would be great!

I.

Re: ProfitBricks ImageExtension

Posted by Reijhanniel Jearl Campos <de...@gmail.com>.
Created 1082 and 1083 to track these.

https://issues.apache.org/jira/browse/JCLOUDS-1082
https://issues.apache.org/jira/browse/JCLOUDS-1083

On Thu, Feb 18, 2016 at 5:37 PM Ignasi Barrera <na...@apache.org> wrote:

> Great. Mind opening the JIRA issue for the SecurityGroupExtension? If
> the API supports configuring firewalls, we also need to honor the
> "templateBuilder#inboundPorts" method in the compute service adapter.
> Mind opening a JIRA for that too?
>
> On 18 February 2016 at 03:18, Reijhanniel Jearl Campos
> <de...@gmail.com> wrote:
> > Did comparison of Amazon's security group docs[1] and ProfitBricks'[2].
> And
> > yes, seems like
> > PB *Firewalls* fit the SecurityGroupExtension model. Another ticket then!
> >
> > Btw, not sure if related. But, had seen on my old PR[3], where you asked:
> >
> >>
> > *Can a server be attached to more than one network?*
> > And the answer is yes. PB allows users to create multiple NIC, which can
> > then be assigned
> > to a lanId (networkId, if you will).
> >
> >
> > [1]
> >
> http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
> > [2] https://www.profitbricks.com/help/Firewall
> > [3]
> https://github.com/jclouds/jclouds-labs/pull/145#issuecomment-117120899
> >
> > On Wed, Feb 17, 2016 at 7:06 PM Ignasi Barrera <na...@apache.org> wrote:
> >
> >> I've just filed the JIRA ticker [1].
> >>
> >> Continuing with the extensions thing, I've also seen that ProfitBricks
> >> allows to configure firewalls (security groups style ones) in the
> >> servers. Could you also check if the operations defined in the
> >> SecurityGroupExtension [1] are supported by ProfitBricks and open an
> >> appropriate JIRA if it should be implemented?
> >>
> >>
> >> I.
> >>
> >> [1] https://issues.apache.org/jira/browse/JCLOUDS-1078
> >> [2]
> >>
> https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/extensions/SecurityGroupExtension.java
> >>
> >> On 17 February 2016 at 08:07, Ignasi Barrera <na...@apache.org> wrote:
> >> > The compute service hss a getter for the extension. You just have to
> >> > implement and bind it to the Guice context.
> >> >
> >> > El 17/2/2016 1:09 a. m., "Reijhanniel Jearl Campos" <
> devcsrj@gmail.com>
> >> > escribió:
> >> >>
> >> >> Hello!
> >> >>
> >> >> Had taken a look at ImageExtension impl of DigitalOcean, and yes!
> This
> >> is
> >> >> exactly
> >> >> how *Snapshots* work in PB. Given a *Server *(node), users can
> create a
> >> >> snapshot
> >> >> based from that and use it as an Image for later provisioning
> requests.
> >> >>
> >> >> Btw, how does one call the API to execute that image extension?
> >> >>
> >> >> On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org>
> wrote:
> >> >>
> >> >> > Hi!
> >> >> >
> >> >> > Not a concern for promotion. Just a quick question.
> >> >> >
> >> >> > Does the PB api allow to create images from running servers? If
> so, we
> >> >> > should open a JIRA and implement the ImageExtension (have a look at
> >> >> > DigitalOcean for an example).
> >> >> >
> >> >> > This way, apart from being more abstraction-complete, users would
> be
> >> >> > able
> >> >> > to: deploy vanilla image with jclouds, manually enable access,
> convert
> >> >> > to
> >> >> > image with jclouds.
> >> >> >
> >> >> > Having a way to generate login friendly images mostly using jclouds
> >> >> > itself
> >> >> > would be great!
> >> >> >
> >> >> > I.
> >> >> >
> >>
>

Re: ProfitBricks ImageExtension

Posted by Ignasi Barrera <na...@apache.org>.
Great. Mind opening the JIRA issue for the SecurityGroupExtension? If
the API supports configuring firewalls, we also need to honor the
"templateBuilder#inboundPorts" method in the compute service adapter.
Mind opening a JIRA for that too?

On 18 February 2016 at 03:18, Reijhanniel Jearl Campos
<de...@gmail.com> wrote:
> Did comparison of Amazon's security group docs[1] and ProfitBricks'[2]. And
> yes, seems like
> PB *Firewalls* fit the SecurityGroupExtension model. Another ticket then!
>
> Btw, not sure if related. But, had seen on my old PR[3], where you asked:
>
>>
> *Can a server be attached to more than one network?*
> And the answer is yes. PB allows users to create multiple NIC, which can
> then be assigned
> to a lanId (networkId, if you will).
>
>
> [1]
> http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
> [2] https://www.profitbricks.com/help/Firewall
> [3] https://github.com/jclouds/jclouds-labs/pull/145#issuecomment-117120899
>
> On Wed, Feb 17, 2016 at 7:06 PM Ignasi Barrera <na...@apache.org> wrote:
>
>> I've just filed the JIRA ticker [1].
>>
>> Continuing with the extensions thing, I've also seen that ProfitBricks
>> allows to configure firewalls (security groups style ones) in the
>> servers. Could you also check if the operations defined in the
>> SecurityGroupExtension [1] are supported by ProfitBricks and open an
>> appropriate JIRA if it should be implemented?
>>
>>
>> I.
>>
>> [1] https://issues.apache.org/jira/browse/JCLOUDS-1078
>> [2]
>> https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/extensions/SecurityGroupExtension.java
>>
>> On 17 February 2016 at 08:07, Ignasi Barrera <na...@apache.org> wrote:
>> > The compute service hss a getter for the extension. You just have to
>> > implement and bind it to the Guice context.
>> >
>> > El 17/2/2016 1:09 a. m., "Reijhanniel Jearl Campos" <de...@gmail.com>
>> > escribió:
>> >>
>> >> Hello!
>> >>
>> >> Had taken a look at ImageExtension impl of DigitalOcean, and yes! This
>> is
>> >> exactly
>> >> how *Snapshots* work in PB. Given a *Server *(node), users can create a
>> >> snapshot
>> >> based from that and use it as an Image for later provisioning requests.
>> >>
>> >> Btw, how does one call the API to execute that image extension?
>> >>
>> >> On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org> wrote:
>> >>
>> >> > Hi!
>> >> >
>> >> > Not a concern for promotion. Just a quick question.
>> >> >
>> >> > Does the PB api allow to create images from running servers? If so, we
>> >> > should open a JIRA and implement the ImageExtension (have a look at
>> >> > DigitalOcean for an example).
>> >> >
>> >> > This way, apart from being more abstraction-complete, users would be
>> >> > able
>> >> > to: deploy vanilla image with jclouds, manually enable access, convert
>> >> > to
>> >> > image with jclouds.
>> >> >
>> >> > Having a way to generate login friendly images mostly using jclouds
>> >> > itself
>> >> > would be great!
>> >> >
>> >> > I.
>> >> >
>>

Re: ProfitBricks ImageExtension

Posted by Reijhanniel Jearl Campos <de...@gmail.com>.
Did comparison of Amazon's security group docs[1] and ProfitBricks'[2]. And
yes, seems like
PB *Firewalls* fit the SecurityGroupExtension model. Another ticket then!

Btw, not sure if related. But, had seen on my old PR[3], where you asked:

>
*Can a server be attached to more than one network?*
And the answer is yes. PB allows users to create multiple NIC, which can
then be assigned
to a lanId (networkId, if you will).


[1]
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
[2] https://www.profitbricks.com/help/Firewall
[3] https://github.com/jclouds/jclouds-labs/pull/145#issuecomment-117120899

On Wed, Feb 17, 2016 at 7:06 PM Ignasi Barrera <na...@apache.org> wrote:

> I've just filed the JIRA ticker [1].
>
> Continuing with the extensions thing, I've also seen that ProfitBricks
> allows to configure firewalls (security groups style ones) in the
> servers. Could you also check if the operations defined in the
> SecurityGroupExtension [1] are supported by ProfitBricks and open an
> appropriate JIRA if it should be implemented?
>
>
> I.
>
> [1] https://issues.apache.org/jira/browse/JCLOUDS-1078
> [2]
> https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/extensions/SecurityGroupExtension.java
>
> On 17 February 2016 at 08:07, Ignasi Barrera <na...@apache.org> wrote:
> > The compute service hss a getter for the extension. You just have to
> > implement and bind it to the Guice context.
> >
> > El 17/2/2016 1:09 a. m., "Reijhanniel Jearl Campos" <de...@gmail.com>
> > escribió:
> >>
> >> Hello!
> >>
> >> Had taken a look at ImageExtension impl of DigitalOcean, and yes! This
> is
> >> exactly
> >> how *Snapshots* work in PB. Given a *Server *(node), users can create a
> >> snapshot
> >> based from that and use it as an Image for later provisioning requests.
> >>
> >> Btw, how does one call the API to execute that image extension?
> >>
> >> On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org> wrote:
> >>
> >> > Hi!
> >> >
> >> > Not a concern for promotion. Just a quick question.
> >> >
> >> > Does the PB api allow to create images from running servers? If so, we
> >> > should open a JIRA and implement the ImageExtension (have a look at
> >> > DigitalOcean for an example).
> >> >
> >> > This way, apart from being more abstraction-complete, users would be
> >> > able
> >> > to: deploy vanilla image with jclouds, manually enable access, convert
> >> > to
> >> > image with jclouds.
> >> >
> >> > Having a way to generate login friendly images mostly using jclouds
> >> > itself
> >> > would be great!
> >> >
> >> > I.
> >> >
>

Re: ProfitBricks ImageExtension

Posted by Ignasi Barrera <na...@apache.org>.
I've just filed the JIRA ticker [1].

Continuing with the extensions thing, I've also seen that ProfitBricks
allows to configure firewalls (security groups style ones) in the
servers. Could you also check if the operations defined in the
SecurityGroupExtension [1] are supported by ProfitBricks and open an
appropriate JIRA if it should be implemented?


I.

[1] https://issues.apache.org/jira/browse/JCLOUDS-1078
[2] https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/extensions/SecurityGroupExtension.java

On 17 February 2016 at 08:07, Ignasi Barrera <na...@apache.org> wrote:
> The compute service hss a getter for the extension. You just have to
> implement and bind it to the Guice context.
>
> El 17/2/2016 1:09 a. m., "Reijhanniel Jearl Campos" <de...@gmail.com>
> escribió:
>>
>> Hello!
>>
>> Had taken a look at ImageExtension impl of DigitalOcean, and yes! This is
>> exactly
>> how *Snapshots* work in PB. Given a *Server *(node), users can create a
>> snapshot
>> based from that and use it as an Image for later provisioning requests.
>>
>> Btw, how does one call the API to execute that image extension?
>>
>> On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org> wrote:
>>
>> > Hi!
>> >
>> > Not a concern for promotion. Just a quick question.
>> >
>> > Does the PB api allow to create images from running servers? If so, we
>> > should open a JIRA and implement the ImageExtension (have a look at
>> > DigitalOcean for an example).
>> >
>> > This way, apart from being more abstraction-complete, users would be
>> > able
>> > to: deploy vanilla image with jclouds, manually enable access, convert
>> > to
>> > image with jclouds.
>> >
>> > Having a way to generate login friendly images mostly using jclouds
>> > itself
>> > would be great!
>> >
>> > I.
>> >

Re: ProfitBricks ImageExtension

Posted by Ignasi Barrera <na...@apache.org>.
The compute service hss a getter for the extension. You just have to
implement and bind it to the Guice context.
El 17/2/2016 1:09 a. m., "Reijhanniel Jearl Campos" <de...@gmail.com>
escribió:

> Hello!
>
> Had taken a look at ImageExtension impl of DigitalOcean, and yes! This is
> exactly
> how *Snapshots* work in PB. Given a *Server *(node), users can create a
> snapshot
> based from that and use it as an Image for later provisioning requests.
>
> Btw, how does one call the API to execute that image extension?
>
> On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org> wrote:
>
> > Hi!
> >
> > Not a concern for promotion. Just a quick question.
> >
> > Does the PB api allow to create images from running servers? If so, we
> > should open a JIRA and implement the ImageExtension (have a look at
> > DigitalOcean for an example).
> >
> > This way, apart from being more abstraction-complete, users would be able
> > to: deploy vanilla image with jclouds, manually enable access, convert to
> > image with jclouds.
> >
> > Having a way to generate login friendly images mostly using jclouds
> itself
> > would be great!
> >
> > I.
> >
>

Re: ProfitBricks ImageExtension

Posted by Reijhanniel Jearl Campos <de...@gmail.com>.
Hello!

Had taken a look at ImageExtension impl of DigitalOcean, and yes! This is
exactly
how *Snapshots* work in PB. Given a *Server *(node), users can create a
snapshot
based from that and use it as an Image for later provisioning requests.

Btw, how does one call the API to execute that image extension?

On Wed, Feb 17, 2016 at 1:56 AM Ignasi Barrera <na...@apache.org> wrote:

> Hi!
>
> Not a concern for promotion. Just a quick question.
>
> Does the PB api allow to create images from running servers? If so, we
> should open a JIRA and implement the ImageExtension (have a look at
> DigitalOcean for an example).
>
> This way, apart from being more abstraction-complete, users would be able
> to: deploy vanilla image with jclouds, manually enable access, convert to
> image with jclouds.
>
> Having a way to generate login friendly images mostly using jclouds itself
> would be great!
>
> I.
>