Last active
January 29, 2021 17:04
-
-
Save alexcos78/9b6139228e22b3cdc6b39cf01e6a1c44 to your computer and use it in GitHub Desktop.
This file contains 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
$ curl -L -i -k -H 'Content-type: text/yaml' -H "Authorization: id = ost; type = OpenStack; host = https://cloud-api-pub.cr.cnaf.infn.it:5000/v3; username = iotwins; password = $IAM_ACCESS_TOKEN; tenant = openid; auth_version = 3.x_oidc_access_token; service_region = sdds;\nid = im; type = InfrastructureManager; token = $IAM_ACCESS_TOKEN" -X POST https://iotwins-paas.cloud.cnaf.infn.it/im/infrastructures --data-binary @"simple_tosca_im.yaml" | |
HTTP/2 200 | |
server: nginx/1.19.6 | |
date: Fri, 29 Jan 2021 14:08:03 GMT | |
content-type: text/uri-list | |
content-length: 95 | |
infid: 5db98326-623b-11eb-b619-0242ac110004 | |
https://iotwins-paas.cloud.cnaf.infn.it/im/infrastructures/5db98326-623b-11eb-b619-0242ac110004 | |
$ curl -L -i -k -H 'Content-type: text/yaml' -H "Authorization: id = ost; type = OpenStack; username = iotwins; password = $IAM_ACCESS_TOKEN; tenant = openid; auth_version = 3.x_oidc_access_token;\nid = im; type = InfrastructureManager; token = $IAM_ACCESS_TOKEN" -X GET https://iotwins-paas.cloud | |
.cnaf.infn.it/im/infrastructures/5db98326-623b-11eb-b619-0242ac110004 | |
HTTP/2 200 | |
server: nginx/1.19.6 | |
date: Fri, 29 Jan 2021 14:20:39 GMT | |
content-type: text/uri-list | |
content-length: 101 | |
https://iotwins-paas.cloud.cnaf.infn.it/im/infrastructures/5db98326-623b-11eb-b619-0242ac110004/vms/0 | |
$ curl -L -i -k -H 'Content-type: text/yaml' -H "Authorization: id = ost; type = OpenStack; username = iotwins; password = $IAM_ACCESS_TOKEN; tenant = openid; auth_version = 3.x_oidc_access_token;\nid = im; type = InfrastructureManager; token = $IAM_ACCESS_TOKEN" -X GET https://iotwins-paas.cloud.cnaf.infn.it/im/infrastructures/5db98326-623b-11eb-b619-0242ac110004/vms/0 | |
HTTP/2 200 | |
server: nginx/1.19.6 | |
date: Fri, 29 Jan 2021 14:20:55 GMT | |
content-type: text/plain | |
content-length: 2659 | |
network private_net ( outbound = 'no' and | |
provider_id = 'tb02-net' ) | |
network public_net ( outbound = 'yes' and | |
outports = '9000/tcp-9000/tcp' and | |
provider_id = 'public' ) | |
system simple_node ( | |
instance_name = 'simple-node-64e0337a-623b-11eb-aa03-0242ac110004' and | |
disk.0.image.url = 'ost://cloud-api-pub.cr.cnaf.infn.it/94a76d1e-cacb-48ce-ad69-c0b26fd9bb53' and | |
instance_type = 'iotwins.medium' and | |
net_interface.0.connection = 'private_net' and | |
net_interface.1.connection = 'public_net' and | |
cpu.count = 2 and | |
memory.size = 4096M and | |
cpu.arch = 'x86_64' and | |
disk.0.free_size = 40G and | |
disk.0.os.credentials.username = '' and | |
provider.type = 'OpenStack' and | |
provider.host = 'cloud-api-pub.cr.cnaf.infn.it' and | |
provider.port = 5000 and | |
disk.0.os.credentials.private_key = '-----BEGIN RSA PRIVATE KEY----- | |
-----END RSA PRIVATE KEY----- | |
' and | |
state = 'unknown' and | |
instance_id = 'cbfe7cf0-0679-41a2-b5ac-163c48c1e39d' and | |
net_interface.0.dns_name = 'vnode-0' and | |
net_interface.0.ip = '192.168.2.7' and | |
net_interface.1.ip = '' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment