aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/json-schemas/deployment-group-intent.json
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2020-09-25 03:16:40 +0000
committerEric Multanen <eric.w.multanen@intel.com>2020-10-02 23:40:47 -0700
commitd4b89af411ec7444b554a8b0ddeb7e239fa0fc73 (patch)
tree34938e3e8f5663e9354a05fddd03e62e9c2501b9 /src/orchestrator/json-schemas/deployment-group-intent.json
parent49f3d84b1dd20e7504018ee952d81885d5f21796 (diff)
Modify GenericPlacement APIs to include DepIntGrp
Modify the genericPlacementIntent API such that deploymentIntentGroup becomes a mandatory parameter. Issue-ID: MULTICLOUD-1218 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I33d2eeac5b60228e9c08921c9347b1b6aa3f8d28
Diffstat (limited to 'src/orchestrator/json-schemas/deployment-group-intent.json')
-rw-r--r--src/orchestrator/json-schemas/deployment-group-intent.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/orchestrator/json-schemas/deployment-group-intent.json b/src/orchestrator/json-schemas/deployment-group-intent.json
index 2740747b..00b1f32f 100644
--- a/src/orchestrator/json-schemas/deployment-group-intent.json
+++ b/src/orchestrator/json-schemas/deployment-group-intent.json
@@ -5,7 +5,8 @@
"spec": {
"required": [
"profile",
- "version"
+ "version",
+ "logical-cloud"
],
"type": "object",
"description": "DepSpecData has profile, version, OverrideValuesObj",
@@ -42,6 +43,16 @@
"type": "string",
"maxLength": 128,
"pattern": "[-_0-9a-zA-Z]+$"
+ },
+ "logical-cloud": {
+ "description": "Logical Cloud to use for this intent",
+ "required": [
+ "logical-cloud"
+ ],
+ "type": "string",
+ "example": "cloud1",
+ "maxLength": 128,
+ "pattern": "[-_0-9a-zA-Z]+$"
}
}
},