--- /dev/null
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "1.0.0",
+ "title": "MultiVIM Service rest API"
+ },
+ "basePath": "/openoapi/multivim/v1/",
+ "tags": [
+ {
+ "name": "MultiVIM services"
+ }
+ ],
+ "paths": {
+ "/{vimid}/identity/v3": {
+ "get": {
+ "tags": [
+ "vim identity"
+ ],
+ "summary": "query vim identity server ",
+ "description": "query vim identity server",
+ "operationId": "query_vim_identity",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "vimid",
+ "in": "path",
+ "description": "vim instance id",
+ "required": true,
+ "type": "string"
+ }
+
+
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfo"
+ }
+ },
+ "404": {
+ "description": "the vim id is wrong"
+ },
+ "500": {
+ "description": "the vim tenants is not accessable"
+ }
+ }
+ }
+ },
+ "/{vimid}/identity/v3/auth/tokens":{
+ "post": {
+ "tags": [
+ "vim identity"
+ ],
+ "summary": "get vim token ",
+ "description": "get vim token",
+ "operationId": "get_vim_token",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "vimid",
+ "in": "path",
+ "description": "vim instance id",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "authrication data",
+ "required": true,
+ "type": "string"
+ }
+
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/TokenInfo"
+ }
+ },
+ "404": {
+ "description": "the vim id is wrong"
+ },
+ "500": {
+ "description": "the vim tenants is not accessable"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IdentityInfo": {
+ "type": "object",
+ "required": [
+ "href",
+ "id"
+ ],
+ "properties": {
+ "href": {
+ "type": "string",
+ "description": "keystone url"
+ },
+ "id": {
+ "type": "string",
+ "description": "keystone version"
+ }
+ }
+ },
+ "TokenInfo": {
+ "type": "object",
+ "required": [
+ "value",
+ "endpoints"
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "token uuid"
+ },
+ "endpoints": {
+ "type": "string",
+ "description": "serivce endpoints"
+ }
+ }
+ }
+ }
+}
+
+
+
+
+
+