From cb75932c0050126386adcedca83c661fc6338ee8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Thu, 16 Jul 2015 09:21:21 +0200 Subject: [PATCH] README.md: fix deprecated rs/ dirs and cli.py --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ba5a02f4..5c8190d5 100644 --- a/README.md +++ b/README.md @@ -92,13 +92,13 @@ solar resource validate * Disconnect ``` -solar disconnect rs/mariadb_nova_data rs/node1 +solar disconnect mariadb_service node1 ``` * Tag a resource: ``` -solar resource tag rs/node1 test-tags # Remove tags -python cli.py resource tag rs/node1 test-tag --delete +solar resource tag node1 test-tags # Remove tags +solar resource tag node1 test-tag --delete ``` # Low level API @@ -181,13 +181,13 @@ node1.ssh_user = 'vagrant' ``` cd /vagrant -python cli.py deploy haproxy_deployment/haproxy-deployment.yaml +solar deploy haproxy_deployment/haproxy-deployment.yaml ``` or from Python shell: ``` -from x import deployment +from solar.core import deployment deployment.deploy('/vagrant/haproxy_deployment/haproxy-deployment.yaml') ```