-
Notifications
You must be signed in to change notification settings - Fork 928
Add new FCU API support in Outscale EC2 driver #890
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
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b0e95a0
Add Outscale API constants working with TINA OS
jmunhoz 67f89fd
Add new DescribeQuota API in Outscale EC2 driver
jmunhoz a699aaf
Add new DescribeProductTypes API in Outscale EC2 driver
jmunhoz 3bc3d16
Add new DescribeInstanceTypes API in Outscale EC2 driver
jmunhoz e775ec0
Add new GetProductType API in Outscale EC2 driver
jmunhoz f43b467
Add new ModifyInstanceKeypair API in Outscale EC2 driver
jmunhoz 386ec11
Add tests and fixtures FCU DescribeQuota API
jmunhoz 563f05b
Add tests and fixtures FCU DescribeProductTypes API
jmunhoz 7013c6a
Add tests and fixtures FCU DescribeInstanceTypes API
jmunhoz f382174
Add tests and fixtures FCU GetProductType API
jmunhoz e096490
Add tests and fixtures FCU ModifyInstanceKeypair API
jmunhoz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
libcloud/test/compute/fixtures/fcu/ex_describe_instance_types.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| <DescribeInstanceTypesResponse | ||
| xmlns="http://api.outscale.com/wsdl/fcuext/2014-04-15/"> | ||
| <requestId>0556395e-4fe3-4cc1-80cb-c98b9f44ca4b</requestId> | ||
| <instanceTypeSet> | ||
| <item> | ||
| <name>og4.4xlarge</name> | ||
| <vcpu>24</vcpu> | ||
| <memory>193273528320</memory> | ||
| <storageSize>412316860416</storageSize> | ||
| <storageCount>1</storageCount> | ||
| <maxIpAddresses>30</maxIpAddresses> | ||
| <ebsOptimizedAvailable>true</ebsOptimizedAvailable> | ||
| </item> | ||
| <item> | ||
| <name>m3.large</name> | ||
| <vcpu>2</vcpu> | ||
| <memory>8050966528</memory> | ||
| <storageSize>34359738368</storageSize> | ||
| <storageCount>1</storageCount> | ||
| <maxIpAddresses>10</maxIpAddresses> | ||
| <ebsOptimizedAvailable>false</ebsOptimizedAvailable> | ||
| </item> | ||
| <item> | ||
| <name>oc2.8xlarge</name> | ||
| <vcpu>15</vcpu> | ||
| <memory>68718428160</memory> | ||
| <storageSize>901943132160</storageSize> | ||
| <storageCount>4</storageCount> | ||
| <maxIpAddresses>30</maxIpAddresses> | ||
| <ebsOptimizedAvailable>false</ebsOptimizedAvailable> | ||
| </item> | ||
| </instanceTypeSet> | ||
| </DescribeInstanceTypesResponse> |
18 changes: 18 additions & 0 deletions
18
libcloud/test/compute/fixtures/fcu/ex_describe_product_types.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <DescribeProductTypesResponse | ||
| xmlns="http://api.outscale.com/wsdl/fcuext/2014-04-15/"> | ||
| <requestId>6f5287ac-2833-43d5-8675-b1ffd7b658d3</requestId> | ||
| <productTypeSet> | ||
| <item> | ||
| <productTypeId>0001</productTypeId> | ||
| <description>Linux/UNIX</description> | ||
| </item> | ||
| <item> | ||
| <productTypeId>0002</productTypeId> | ||
| <description>Windows</description> | ||
| </item> | ||
| <item> | ||
| <productTypeId>0003</productTypeId> | ||
| <description>MapR</description> | ||
| </item> | ||
| </productTypeSet> | ||
| </DescribeProductTypesResponse> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| <DescribeQuotaResponse | ||
| xmlns="http://api.outscale.com/wsdl/fcuext/2014-04-15/"> | ||
| <requestId>31ef7689-2521-445f-b634-2a5e3e66f699</requestId> | ||
| <isTruncated>true</isTruncated> | ||
| <referenceQuotaSet> | ||
| <item> | ||
| <reference>global</reference> | ||
| <quotaSet> | ||
| <item> | ||
| <ownerId>366866344682</ownerId> | ||
| <name>vm_limit</name> | ||
| <displayName>VM Limit</displayName> | ||
| <description>Maximum number of VM this user can own</description> | ||
| <groupName>Compute</groupName> | ||
| <maxQuotaValue>20</maxQuotaValue> | ||
| <usedQuotaValue>1</usedQuotaValue> | ||
| </item> | ||
| <item> | ||
| <ownerId>366866344682</ownerId> | ||
| <name>core_limit</name> | ||
| <displayName>Core Limit</displayName> | ||
| <description>Maximum number of total cores (virtual core)</description> | ||
| <groupName>Compute</groupName> | ||
| <maxQuotaValue>800</maxQuotaValue> | ||
| <usedQuotaValue>2</usedQuotaValue> | ||
| </item> | ||
| <item> | ||
| <ownerId>366866344682</ownerId> | ||
| <name>memory_limit</name> | ||
| <displayName>Memory Limit</displayName> | ||
| <description>Maximum number of total memory (GiB)</description> | ||
| <groupName>Compute</groupName> | ||
| <maxQuotaValue>4880</maxQuotaValue> | ||
| <usedQuotaValue>7</usedQuotaValue> | ||
| </item> | ||
| </quotaSet> | ||
| </item> | ||
| <item> | ||
| <reference>vpc-00000000</reference> | ||
| <quotaSet> | ||
| <item> | ||
| <ownerId>366866344682</ownerId> | ||
| <name>sg_limit</name> | ||
| <displayName>Security Groups Limit</displayName> | ||
| <description>Maximum number of security groups</description> | ||
| <groupName>Security Groups</groupName> | ||
| <maxQuotaValue>100</maxQuotaValue> | ||
| <usedQuotaValue>2</usedQuotaValue> | ||
| </item> | ||
| </quotaSet> | ||
| </item> | ||
| </referenceQuotaSet> | ||
| </DescribeQuotaResponse> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when will this be implemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tonybaloney thanks for reviewing. we hope a new release of FCU at the end of November or December. Filters in this API are being reworked cause the original implementation is raising some non expected issues in the server side and we had to rollback although the API doc was published and the interface spec is stable. This way users get a clear message and they would not report this well-know bug.
BTW this first patchset would be also a first update to catch up with the new features and improvements in the FCU. Outscale would like to contribute new APIs and available features implemented along the previous months in the server side. As expected, with each new FCU release we would revisit the non implemented bits and bugfixes to support the new features as soon as they hit production in the server side.