Update vims api-ref for rocky

update the api doc of create/list/show/update-vim

Closes-bug: #1777549
Partially Implements: blueprint update-api-ref-for-rocky

Change-Id: Ie796d2024e30191d0724053273c8df6c2b806821
This commit is contained in:
Yan Xing'an 2018-06-18 12:59:03 +08:00
parent c23f81cd76
commit fa4fa99945
6 changed files with 47 additions and 43 deletions

View File

@ -1,12 +1,12 @@
{ {
"vim": { "vim": {
"tenant_id": "689708956a2d4ae0a27120d3aca6a560",
"type": "openstack", "type": "openstack",
"auth_url": "http://192.168.1.2:5000/v3", "auth_url": "http://192.168.42.131/identity",
"auth_cred": { "auth_cred": {
"username": "nfv_user", "username": "nfv_user",
"user_domain_name": "Default", "user_domain_name": "Default",
"password": "password" "password": "password",
"cert_verify": "True"
}, },
"vim_project": { "vim_project": {
"name": "nfv", "name": "nfv",

View File

@ -1,16 +1,16 @@
{ {
"vim": { "vim": {
"status": "REACHABLE", "status": "PENDING",
"description": "Additional site", "description": "Additional site",
"tenant_id": "689708956a2d4ae0a27120d3aca6a560", "tenant_id": "a5346a4d3c464b4f8776ee2f4bfb86af",
"created_at": "2016-10-21 09:27:38.628545", "created_at": "2018-06-18 04:13:26.465823",
"vim_project": { "vim_project": {
"name": "nfv", "name": "nfv",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"updated_at": null, "updated_at": null,
"is_default": false, "is_default": false,
"auth_url": "http://192.168.1.2:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"placement_attr": { "placement_attr": {
"regions": [ "regions": [
"RegionOne" "RegionOne"
@ -20,13 +20,16 @@
"username": "nfv_user", "username": "nfv_user",
"password": "***", "password": "***",
"project_name": "nfv", "project_name": "nfv",
"cert_verify": "True",
"user_domain_name": "Default", "user_domain_name": "Default",
"auth_url": "http://192.168.1.2:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"project_id": null, "project_id": null,
"key_type": "barbican_key",
"secret_uuid": "***",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"type": "openstack", "type": "openstack",
"id": "a35b19c5-b1b3-4172-9c2a-aa80a6470bd7", "id": "28dbc4f0-80e2-4006-b26c-724a1202e82d",
"name": "VIM1" "name": "VIM1"
} }
} }

View File

@ -3,16 +3,15 @@
{ {
"status": "REACHABLE", "status": "REACHABLE",
"description": "", "description": "",
"tenant_id": "689708956a2d4ae0a27120d3aca6a560", "tenant_id": "a5346a4d3c464b4f8776ee2f4bfb86af",
"created_at": "2016-09-23 09:57:35", "created_at": "2018-06-17 16:26:52",
"vim_project": { "vim_project": {
"id": "",
"name": "nfv", "name": "nfv",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"updated_at": "2016-09-23 09:57:35", "updated_at": "2018-06-18 03:45:49",
"is_default": true, "is_default": true,
"auth_url": "http://localhost:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"placement_attr": { "placement_attr": {
"regions": [ "regions": [
"RegionOne" "RegionOne"
@ -22,14 +21,16 @@
"username": "nfv_user", "username": "nfv_user",
"password": "***", "password": "***",
"project_name": "nfv", "project_name": "nfv",
"user_id": "", "cert_verify": "True",
"user_domain_name": "Default", "user_domain_name": "Default",
"auth_url": "http://localhost:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"project_id": "", "project_id": null,
"key_type": "barbican_key",
"secret_uuid": "***",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"type": "openstack", "type": "openstack",
"id": "f6bd6f24-7a0e-4111-8994-e108c5ee2ff2", "id": "cb7ac02e-1445-48c2-a3cb-4fcddd49fce5",
"name": "VIM0" "name": "VIM0"
} }
] ]

View File

@ -2,16 +2,15 @@
"vim": { "vim": {
"status": "REACHABLE", "status": "REACHABLE",
"description": "", "description": "",
"tenant_id": "689708956a2d4ae0a27120d3aca6a560", "tenant_id": "a5346a4d3c464b4f8776ee2f4bfb86af",
"created_at": "2016-09-23 09:57:35", "created_at": "2018-06-17 16:26:52",
"vim_project": { "vim_project": {
"id": "",
"name": "nfv", "name": "nfv",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"updated_at": "2016-09-23 09:57:35", "updated_at": "2018-06-18 03:45:49",
"is_default": true, "is_default": false,
"auth_url": "http://localhost:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"placement_attr": { "placement_attr": {
"regions": [ "regions": [
"RegionOne" "RegionOne"
@ -20,15 +19,17 @@
"auth_cred": { "auth_cred": {
"username": "nfv_user", "username": "nfv_user",
"password": "***", "password": "***",
"project_id": null,
"project_name": "nfv", "project_name": "nfv",
"user_id": "", "cert_verify": "True",
"user_domain_name": "Default", "user_domain_name": "Default",
"auth_url": "http://localhost:5000/v3", "key_type": "barbican_key",
"project_id": "", "secret_uuid": "***",
"auth_url": "http://192.168.42.131/identity/v3",
"project_domain_name": "Default" "project_domain_name": "Default"
}, },
"type": "openstack", "type": "openstack",
"id": "f6bd6f24-7a0e-4111-8994-e108c5ee2ff2", "id": "cb7ac02e-1445-48c2-a3cb-4fcddd49fce5",
"name": "VIM0" "name": "VIM0"
} }
} }

View File

@ -4,15 +4,13 @@
"username": "new_nfv_user", "username": "new_nfv_user",
"user_domain_name": "NewDomain", "user_domain_name": "NewDomain",
"password": "newpassword", "password": "newpassword",
"user_id": "11d7655309d849208ea1f39d44507e2e" "cert_verify": "True"
}, },
"vim_project": { "vim_project": {
"id": "4391756708414b1380235cd047f0ee55",
"name": "new_nfv", "name": "new_nfv",
"project_domain_name": "NewDomain" "project_domain_name": "NewDomain"
}, },
"name": "new_VIM1", "name": "new_VIM1",
"description": "New Description", "description": "New Description"
"is_default": false
} }
} }

View File

@ -2,16 +2,15 @@
"vim": { "vim": {
"status": "REACHABLE", "status": "REACHABLE",
"description": "New Description", "description": "New Description",
"tenant_id": "689708956a2d4ae0a27120d3aca6a560", "tenant_id": "a5346a4d3c464b4f8776ee2f4bfb86af",
"created_at": "2016-10-21 10:35:12", "created_at": "2018-06-18 04:13:26",
"vim_project": { "vim_project": {
"project_domain_name": "NewDomain", "project_domain_name": "NewDomain",
"id": "4391756708414b1380235cd047f0ee55",
"name": "new_nfv" "name": "new_nfv"
}, }
"updated_at": "2016-10-21 10:35:40.043226", "updated_at": "2018-06-18 04:33:41.462895",
"is_default": false, "is_default": false,
"auth_url": "http://192.168.1.2:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"placement_attr": { "placement_attr": {
"regions": [ "regions": [
"RegionOne" "RegionOne"
@ -20,15 +19,17 @@
"auth_cred": { "auth_cred": {
"username": "new_nfv_user", "username": "new_nfv_user",
"password": "***", "password": "***",
"project_id": null,
"project_name": "new_nfv", "project_name": "new_nfv",
"user_id": "11d7655309d849208ea1f39d44507e2e",
"user_domain_name": "NewDomain", "user_domain_name": "NewDomain",
"auth_url": "http://192.168.1.2:5000/v3", "auth_url": "http://192.168.42.131/identity/v3",
"project_id": "4391756708414b1380235cd047f0ee55", "project_domain_name": "NewDomain",
"project_domain_name": "NewDomain" "cert_verify": "True",
"key_type": "barbican_key",
"secret_uuid": "***"
}, },
"type": "openstack", "type": "openstack",
"id": "ce4df54a-5734-493f-ab27-ce02fbfe2463", "id": "28dbc4f0-80e2-4006-b26c-724a1202e82d",
"name": "new_VIM1" "name": "new_VIM1"
} }
} }