Skip to content

Commit

Permalink
Closes-Bug: #1616579 - Updating descriptions in JSON schema for SM
Browse files Browse the repository at this point in the history
The schema and json samples for SM were missing some details

Change-Id: Ie84ed0e0ee222f9f3d20fce7608f1bc689fcb151
  • Loading branch information
nitishkrishna committed Oct 11, 2016
1 parent ca92e2b commit 6f781e6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/client/cluster_json_schema.txt
Expand Up @@ -16,7 +16,7 @@
"id": {
"type": "string",
"title": "Id schema.",
"description": "Id of the cluster being added. Mandatory parameter."
"description": "Id of the cluster being added. This is a mandatory parameter."
},
"parameters": {
"type": "object",
Expand Down Expand Up @@ -66,7 +66,7 @@
"kernel_version": {
"type": "string",
"title": "Kernel_version schema.",
"description": "Kernel version to upgrade to. Optional. Default upgrades to kernel version included with contrail package, if upgrade flag is set.",
"description": "Kernel version to upgrade to. Optional parameter. Default upgrades to kernel version included with contrail package, if upgrade flag is set.",
"default": ""
},
"enable_lbaas": {
Expand Down Expand Up @@ -150,7 +150,7 @@
"minimum_diskGB": {
"type": "integer",
"title": "Minimum_diskGB schema.",
"description": " Minimum free disk size needed",
"description": " Minimum free disk size needed (in GB)",
"default": 32
}
}
Expand Down Expand Up @@ -223,7 +223,7 @@
"redis_password": {
"type": "string",
"title": "Redis_password schema.",
"description": "redis password",
"description": "Password to use for Redis service",
"default": ""
}
}
Expand All @@ -236,13 +236,13 @@
"encapsulation_priority": {
"type": "string",
"title": "Encapsulation_priority schema.",
"description": "Encapsulation priority",
"description": "The priority order for tunnel encapsulation methods used by Controller EVPN",
"default": "VXLAN,MPLSoUDP,MPLSoGRE"
},
"router_asn": {
"type": "integer",
"title": "Router_asn schema.",
"description": "Router ASN value",
"description": "The ASN that the cluster belongs to",
"default": 64512
},
"external_bgp": {
Expand Down Expand Up @@ -285,7 +285,7 @@
"zookeeper_ip_port": {
"type": "integer",
"title": "Zookeeper_ip_port schema.",
"description": "Zookeeper IP port value",
"description": "The IP Port that the zookeeper service listens on",
"default": 2181
},
"healthcheck_interval": {
Expand Down Expand Up @@ -343,7 +343,7 @@
"ip": {
"type": "string",
"title": "Ip schema.",
"description": "VM ware IP address.",
"description": "VMware IP address.",
"default": ""
},
"username": {
Expand Down Expand Up @@ -498,7 +498,7 @@
"ip": {
"type": "string",
"title": "Ip schema.",
"description": "The External Keystone IP to use",
"description": "The External Keystone IP to use (If we are using a Central Keystone server, for example)",
"default": ""
},
"admin_password": {
Expand Down
1 change: 1 addition & 0 deletions src/client/new-server.json
Expand Up @@ -5,6 +5,7 @@
"domain": "demo.juniper.net",
"id": "newserver12",
"parameters" : {
"partition": "/dev/sda",
"provision": {
"contrail": {
"compute": {
Expand Down
5 changes: 5 additions & 0 deletions src/client/server_json_schema.txt
Expand Up @@ -36,6 +36,11 @@
"title": "Parameters schema.",
"description": "Server Parameters",
"properties": {
"partition": {
"type": "string",
"title": "Partition disk schema.",
"description": "Disk name on which to install the OS. Only this disk will be part of the LVM. By default ALL disks on the node will be part of the LVM."
},
"provision": {
"type": "object",
"title": "Provision schema.",
Expand Down

0 comments on commit 6f781e6

Please sign in to comment.