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

implement /api/v1/install (includes reconfig, e.g. cpu allocation ratio) #178

Open
snowch opened this issue Jul 21, 2020 · 1 comment
Open

Comments

@snowch
Copy link
Member

snowch commented Jul 21, 2020

GET /api/v1/install/ HTTP/1.1
Host: 127.0.0.1:8080
Accept-Encoding: gzip, deflate
REMOTE_ADDR: 86.138.132.112
Accept: */*
User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.13.1.el7.x86_64
Connection: keep-alive
X-BDS-SESSION: /api/v2/session/5a1cec10-f62e-44dc-9692-e3f52a2dcc7c
Authorization: /api/v2/session/5a1cec10-f62e-44dc-9692-e3f52a2dcc7c

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Length: 509
Content-Type: application/json
Date: Tue, 21 Jul 2020 14:11:29 GMT
Server: HPE Ezmeral Container Platform 5.1

{"install_state":"installed","original_controllerip":"10.1.0.210","config_data":[],"sysinfo":[],"bds_ha_enabled":"No","primary_ip":"10.1.0.210","primary_hostname":"ip-10-1-0-210.us-west-2.compute.internal","bds_global_version":"5.1","bds_global_buildnumber":"2055","bds_global_sku":"Enterprise-Docker","bds_global_isskudocker":"true","float_range":"172.18.0.0/16","intgateway_ip":"172.18.0.1","routable_network":false,"proxy_present":true,"tenant_network_isolation":true,"bdshared_storage_localfstype":"mapr"}
@snowch
Copy link
Member Author

snowch commented Aug 2, 2020

PUT /api/v1/install/?install_reconfig HTTP/1.1
Host: 127.0.0.1:8080
Content-Length: 27
Accept-Encoding: gzip, deflate
REMOTE_ADDR: 86.138.132.112
Accept: */*
User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.18.2.el7.x86_64
Connection: keep-alive
X-BDS-SESSION: /api/v2/session/46acd825-491e-4e81-95ed-3190bb854a27
Authorization: /api/v2/session/46acd825-491e-4e81-95ed-3190bb854a27

{"cpu_allocation_ratio": 3}

HTTP/1.1 204 No Content
Access-Control-Allow-Origin: *
Content-Length: 0
Content-Type: text/plain
Date: Sun, 02 Aug 2020 09:43:56 GMT
Server: HPE Ezmeral Container Platform 5.1

@snowch snowch changed the title implement /api/v1/install implement /api/v1/install (includes reconfig, e.g. cpu allocation ratio) Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant