Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to Create 1 EUR Smart VM - Random DC #54

Open
msg768 opened this issue Sep 4, 2018 · 11 comments
Open

Add feature to Create 1 EUR Smart VM - Random DC #54

msg768 opened this issue Sep 4, 2018 · 11 comments

Comments

@msg768
Copy link

msg768 commented Sep 4, 2018

Could you please add a feature to allow random data centers which causes the fee to become 1 EUR per month for a small smart vm? Or if there already is a way to do it, please let me know!

@Axadiw
Copy link

Axadiw commented Sep 5, 2018

Duplicate of #53 :)

@CraftedCat
Copy link

Please, add )))

Via https://api.dcX.computing.cloud.it/WsEndUser/v2.9/WsEndUser.svc you will be able to submit a request with the parameter “IsLuckySmart” (Boolean). This kind of request can be done from any datacenter and works only with Small VPS package size. We can recommend you the method SetEnqueueServerCreationEx instead of SetEnqueueServerCreation as it will return more useful information (the datacenter where the server is going to be deployed among other things). To be sure the lucky smart product is available we suggest first to invoke the method IsLuckySmartAvailable. The product can be not be available in the following case: - Aruba disabled the feature - the product “SmartVMWare Package Small Base” is not present into the pricelist of the user - the product “SmartVMWare Package Small Lucky “ is not present into the pricelist of the user Please not that this content above and the one from the KB section - https://kb.arubacloud.com/en/api.aspx - will be all the information available on the API topic and no complementary support will be provided regarding how to use or implement those resources in some projects of yours. Remaining at your disposal.

@Axadiw
Copy link

Axadiw commented Sep 11, 2018

Hey @CraftedCat - where have you found this information? I've been checking
https://api.dcx.computing.cloud.it/WsEndUser/v2.9/WsEndUser.svc (with X changed to DC number, like https://api.dc1.computing.cloud.it/WsEndUser/v2.9/WsEndUser.svc) but I haven't found any useful documentation there :)

Have you have this info from the Aruba support?

@CraftedCat
Copy link

@Axadiw yes, of course!

@CraftedCat
Copy link

Can we hope to add this parameter?)))

@CraftedCat
Copy link

CraftedCat commented Sep 18, 2018

I try add:
class SmartVmCreator(Creator):
def init(self, name, admin_password, template_id, auth_obj, note=None):
self.name = name
self.admin_password = admin_password
self.template_id = template_id
self.auth_obj = auth_obj
self.note = 'Create by pyArubaCloud' if note is None else note
self.json_msg = {
'ApplicationId': 'SetEnqueueServerCreation',
'RequestId': 'SetEnqueueServerCreation',
'Username': self.auth_obj.username,
'Password': self.auth_obj.password,
'Server': {
'AdministratorPassword': self.admin_password,
'Name': self.name,
'SmartVMWarePackageID': 1,
'Note': self.note,
'OSTemplateId': self.template_id,
'IsLuckySmart': 1
}
}
but not working...

@CraftedCat
Copy link

@CraftedCat
Copy link

Dear customer

The page shown at this URL is merely intended to provide a few hints on some methods to access the service.
There is no other documentation than the one provide in the Knowledge base at:
https://kb.arubacloud.com/en/api.aspx

We kindly remind we do not provide software assistance, nor support the use of the API.

We had feedback from other customers mentioning the use of tools such as SoapUI (and possibly many similar other tools) to be of great help to visualize the API and available methods (and embedded comments).

Kind regards

@marcobarzaghi
Copy link
Member

Hi,

unfortunately the projects here on github are not up to date considering the improvements we have introduced on the Aruba Cloud platform.

The native api we offer to the end users is based on Soap protocol and is partially described here https://kb.arubacloud.com/en/api.aspx. This set of api is the same we use for public control panels for the our customers.

This is the set available on datacenter IT-1

Each datacenter provides the same set of api.

In the next months we have in plan to work to the review of our github repository and to provide a better documentation.

Best regards,
Marco

@CraftedCat
Copy link

Thanks @marcobarzaghi , we will wait with impatience. But can you tell us fast fix for deploy lucky smart?

@CraftedCat
Copy link

@marcobarzaghi I have no right to demand the fulfillment of promises from you. Can you tell what kind of work is underway?))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants