summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-05-20 14:42:39 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-05-20 14:42:39 -0700
commit57a23f93ae803640517206de67f33f2fc442ca4c (patch)
treec486d8385cfa1fba2144c82ce43623e36acb770f /README.md
parent7893dd02c15f2a727eb50887c9ddb829fc71f556 (diff)
added features: logger, exception handling, CLI changes, move constants to domino_conf.py; fixed bug: packing UDID generated as UINT64 by the random number generator to INT64
Change-Id: Id79e79050d1a1011d3548bb4445792354e7b63d0 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 18 insertions, 1 deletions
diff --git a/README.md b/README.md
index ed133a0..18051ba 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,24 @@ Tested on Ubuntu 14.04 and OS X El Capitan
heartbeat
###subscribe for policy labels
- subscribe -l/--labels <policytype>:properties:key:value
+ subscribe -l/--label <policytype>:properties:key:value
+
+Example:
+First checkout the tosca file "./tosca-templates/tosca_helloworld_nfv.yaml" and see how policy types and rules are defined. Then, from any Domino Client, use subscribe command as:
+ subscribe --label tosca.policies.Placement.Geolocation:properties:region:us-west-1
+
###publish default template file under tosca-templates
publish --tosca-file <path_to_toscafile>
+
+Example:
+Run the following command from any Domino Client:
+
+ publish --tosca-file ./tosca-templates/tosca_helloworld_nfv.yaml
+
+Now, inspect the files generated under ./toscafiles, where the original file as well as parts sent to each Domino Client are shown (each part identified by UDID assigned to that client)
+
+##NOTES
+ If accidentally you start DominoClient before DominoServer, don't panic. First start the DominoServer and then input the command on the DominoClient side:
+
+ register