summaryrefslogtreecommitdiffstats
path: root/src/tools/emcoctl/Readme.md
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-08-29 01:27:53 -0700
committerRitu Sood <ritu.sood@intel.com>2020-09-02 13:59:58 -0700
commitd8ed6e76a40b8942c2b56c623dcc097d734e3dca (patch)
treefe5712061d02d1d971b84cbc2f2f7bca68666cfd /src/tools/emcoctl/Readme.md
parentd14246bb9a2c8874f9925c45322d678a93584adb (diff)
Update CLI with complete get implementation
CLI updated with get functionality. Also adding vFw test case Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I7bd22aca9fac9cb7b1f4c93d0ffad5b07b62cced
Diffstat (limited to 'src/tools/emcoctl/Readme.md')
-rw-r--r--src/tools/emcoctl/Readme.md23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/tools/emcoctl/Readme.md b/src/tools/emcoctl/Readme.md
index bf07e563..ecbcf4de 100644
--- a/src/tools/emcoctl/Readme.md
+++ b/src/tools/emcoctl/Readme.md
@@ -54,20 +54,33 @@ This command will apply the resources in the file. The user is responsible to en
`$ emcoctl apply -f filename.yaml`
+For applying resources that don't have a json body anchor can be provided as an arguement
+
+`$ emcoctl apply <anchor>`
+
+`$ emcoctl apply projects/testvfw/composite-apps/compositevfw/v1/deployment-intent-groups/vfw_deployment_intent_group/instantiate`
+
+
2. Get Emco Resources
-Get the resources in the input file. This command will use the metadata name to get the resource.
+Get the resources in the input file. This command will use the metadata name in each of the resources in the file to get information about the resource.
`$ emcoctl get -f filename.yaml`
+For getting information for one resource anchor can be provided as an arguement
+
+`$ emcoctl get <anchor>`
+
+`$ emcoctl get projects/testvfw/composite-apps/compositevfw/v1/deployment-intent-groups/vfw_deployment_intent_group`
+
3. Delete Emco Resources
-Delete resources in the file. The emcoctl will start deleting resources in the reverse order than given in the file to maintain hierarchy. This command will use the metadata name to delete the resource.
+Delete resources in the file. The emcoctl will start deleting resources in the reverse order than given in the file to maintain hierarchy. This command will use the metadata name in each of the resources in the file to delete the resource..
`$ emcoctl delete -f filename.yaml`
-4. Get all Emco Resources
+For deleting one resource anchor can be provided as an arguement
-Get all for the resources in the file.
+`$ emcoctl delete <anchor>`
-`$ emcoctl getall -f filename.yaml`
+`$ emcoctl delete projects/testvfw/composite-apps/compositevfw/v1/deployment-intent-groups/vfw_deployment_intent_group`