[jclouds/jclouds-labs] JCLOUDS-664 Azurecompute-arm VNetApi and SubnetApi (#262)

2016-04-21 Thread Rita Zhang
@nacx @andreaturli This PR is for VirtualNetworkApi and SubnetApi, part of the foundations needed for interacting with Azure Resource Manager (ARM) Rest APIs. FYI @jmspring @jtjk @isalento You can view, comment on, or merge this pull request online at:

Re: [jclouds/jclouds-labs] [JCLOUDS-1092] AzureComputeServiceAdapter.resumeNode waits for the node to start (#257)

2016-04-21 Thread Ignasi Barrera
Closed #257. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/257#event-636857076

Re: [jclouds/jclouds-labs] [JCLOUDS-1092] AzureComputeServiceAdapter.resumeNode waits for the node to start (#257)

2016-04-21 Thread Ignasi Barrera
I've pushed this partial fix to master as [76f90fc9](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/76f90fc9). I'm closing this PR as the proper fix will require a completely different patch, but let's continue the discussion here or in the JIRA issue! --- You are receiving this

[jira] [Commented] (JCLOUDS-1092) Azure: ComputeService.resumeNode spins in a timeout loop that doesn't have a chance to exit early

2016-04-21 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15252830#comment-15252830 ] ASF subversion and git services commented on JCLOUDS-1092: -- Commit

Re: [jclouds/jclouds-labs] [JCLOUDS-1092] AzureComputeServiceAdapter.resumeNode waits for the node to start (#257)

2016-04-21 Thread Ignasi Barrera
The `listNodes` method [ignores `null` deployments](https://github.com/jclouds/jclouds-labs/blob/master/azurecompute/src/main/java/org/jclouds/azurecompute/compute/AzureComputeServiceAdapter.java#L407) too, so it presents the same issue. The main problem here is that we map a jclouds `Node` to

[jira] [Updated] (JCLOUDS-1104) RouterApi call don't find namespace field

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ignasi Barrera updated JCLOUDS-1104: Labels: openstack-keystone openstack-neutron (was: openstack-neutron) > RouterApi call

[jira] [Updated] (JCLOUDS-1104) RouterApi call don't find namespace field

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ignasi Barrera updated JCLOUDS-1104: Labels: openstack-neutron (was: Neutron RouterApi,) > RouterApi call don't find

[jira] [Commented] (JCLOUDS-1104) RouterApi call don't find namespace field

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15252791#comment-15252791 ] Ignasi Barrera commented on JCLOUDS-1104: - Patch here:

[jclouds/jclouds] JCLOUDS-1104: Extension namespaces are deprecated and can be null (#948)

2016-04-21 Thread Ignasi Barrera
https://issues.apache.org/jira/browse/JCLOUDS-1104 If the namespace of an extension is not present, then try to match them just by name and alias. @zack-shoylev I'd pretty much appreciate your comments :) You can view, comment on, or merge this pull request online at:

[jira] [Commented] (JCLOUDS-1105) JClouds creates default security group in AWS EC2

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15252045#comment-15252045 ] Ignasi Barrera commented on JCLOUDS-1105: - Here is a patch to start playing with:

[jclouds/jclouds] JCLOUDS-1105: Do not create the default security group if custom groups are specified (#947)

2016-04-21 Thread Ignasi Barrera
https://issues.apache.org/jira/browse/JCLOUDS-1105 I'm still not sure about the impact of this change. I'd rather play a bit with this and get feedback from users. I haven't been able to test it live yet, so this PR just relies on the unit tests. I plan to do some testing later today but I'd

[jira] [Updated] (JCLOUDS-1105) JClouds creates default security group in AWS EC2

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ignasi Barrera updated JCLOUDS-1105: Affects Version/s: 1.9.2 > JClouds creates default security group in AWS EC2 >

[jira] [Updated] (JCLOUDS-1105) JClouds creates default security group in AWS EC2

2016-04-21 Thread Ignasi Barrera (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ignasi Barrera updated JCLOUDS-1105: Labels: aws-ec2 ec2 (was: ) > JClouds creates default security group in AWS EC2 >

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Вальо
> + public String call() { > + String serialPortContents = ""; > + Map passwordDict = ImmutableMap.of(); > + while (!serialPortContents.startsWith("{\"ready\":true") > || passwordDict.get("encryptedPassword") ==

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
Thanks @bostko! I've just made some final comments. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-212903740

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
> + public String call() { > + String serialPortContents = ""; > + Map passwordDict = ImmutableMap.of(); > + while (!serialPortContents.startsWith("{\"ready\":true") > || passwordDict.get("encryptedPassword") ==

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
> + private final Crypto crypto; > + private final Predicate operationDone; > + > + @Inject > + ResetWindowsPassword(GoogleComputeEngineApi api, Crypto crypto, > Predicate operationDone) { > + this.api = api; > + this.crypto = crypto; > +

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
> @@ -135,6 +135,17 @@ Operation > deleteAccessConfigFromNic(@PathParam("instance") String instance, > @GET > @Path("/{instance}/serialPort") > SerialPortOutput getSerialPortOutput(@PathParam("instance") String > instance); > + > + /** > +* Returns the specified instance's

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
> +import com.google.common.io.BaseEncoding; > +import org.jclouds.crypto.Crypto; > +import org.jclouds.encryption.bouncycastle.BouncyCastleCrypto; > +import org.jclouds.googlecomputeengine.GoogleComputeEngineApi; > +import org.jclouds.googlecomputeengine.domain.Instance; > +import

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-04-21 Thread Ignasi Barrera
> +import org.jclouds.googlecomputeengine.domain.Instance; > +import org.jclouds.googlecomputeengine.domain.Instance.SerialPortOutput; > +import org.jclouds.googlecomputeengine.domain.Metadata; > +import org.jclouds.googlecomputeengine.domain.Operation; > +import