From d7430c5cb653640cc301ccca7442bffd0f8836c0 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 25 Feb 2016 09:26:33 -0600 Subject: Update confusing variables --- src/posts/simple-openstack-clients.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/posts') diff --git a/src/posts/simple-openstack-clients.hbs b/src/posts/simple-openstack-clients.hbs index 6d7b6e4..4fa4fad 100644 --- a/src/posts/simple-openstack-clients.hbs +++ b/src/posts/simple-openstack-clients.hbs @@ -41,9 +41,9 @@ client = os_client_config.make_client('image', cloud='mtvxx')

 client = os_client_config.make_client(
     'network',
-    auth_url=OS_AUTH_URL, username=OS_USERNAME,
-    password=OS_PASSWORD, project_name=OS_PROJECT_NAME,
-    region_name=OS_REGION_NAME)
+    auth_url='https://example.com', username='my-user',
+    password='awesome-password', project_name='my-project',
+    region_name='the-best-region')
     

Make a barbican client from env vars with all the standard arguments @@ -104,9 +104,9 @@ session = os_client_config.session_client('image', cloud='mtvxx')


 session = os_client_config.session_client(
     'network',
-    auth_url=OS_AUTH_URL, username=OS_USERNAME,
-    password=OS_PASSWORD, project_name=OS_PROJECT_NAME,
-    region_name=OS_REGION_NAME)
+    auth_url='https://example.com', username='my-user',
+    password='awesome-password', project_name='my-project',
+    region_name='the-best-region')
     

Make a barbican Session object from env vars with all the standard -- cgit v1.2.3