It's required to implement new workflow for Brownfield importation activities using API V3.
Adding support for:
servers
vpcs
floating_ips
volumes
policies
New Brownfield commands:
cio brownfield cloud-accounts \:
list -> Lists the cloud accounts that support importing resources
GET /v3/brownfield/cloud_accounts
cio brownfield import-\:
import-servers -> Import servers candidates, by given cloud account id
PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_servers
import-vpcs -> Import VPCs candidates, by given cloud account id
PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_vpcs
import-floating-ips -> Import Floating IPs candidates, by given cloud account id
PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_floating_ips
import-volumes -> Import volumes candidates, by given cloud account id
PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_volumes
import-policies -> Import policies candidates, by given cloud account id
PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_policies
Related Issue
Closes #64
Motivation and Context
Brownfield commands adaptation.
API V3 should be used.
How Has This Been Tested?
Screenshots (if appropriate)
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
@lttito There isn't a dedicated file; and since code repository is public accessible it's shown at releases page. Please take a look on this url: https://github.com/ingrammicro/cio/releases
Description
It's required to implement new workflow for Brownfield importation activities using API V3.
Adding support for:
New Brownfield commands:
cio brownfield cloud-accounts \ :
cio brownfield import-\ :
import-servers -> Import servers candidates, by given cloud account id PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_servers
import-vpcs -> Import VPCs candidates, by given cloud account id PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_vpcs
import-floating-ips -> Import Floating IPs candidates, by given cloud account id PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_floating_ips
import-volumes -> Import volumes candidates, by given cloud account id PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_volumes
import-policies -> Import policies candidates, by given cloud account id PUT /v3/brownfield/cloud_accounts/:cloud_account_id/import_policies
Related Issue
Closes #64
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate)
Types of changes
Checklist