From 67c034b8a111df7c316e7d47752ff09068072bd3 Mon Sep 17 00:00:00 2001 From: xu-haiwei Date: Fri, 10 Jun 2016 17:02:53 +0900 Subject: [PATCH] Change bind_port to 9890 Since the bind_port of tacker server is changed to 9890, fix the document and test case to meet this change. Change-Id: I5baff302517c8bd8b7cc14b10e771beb9079762b --- doc/source/index.rst | 2 +- tackerclient/tests/unit/test_shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 2000fcc5..af3cfab9 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -15,7 +15,7 @@ In order to use the CLI, you must provide your OpenStack username, password, ten The command line tool will attempt to reauthenticate using your provided credentials for every request. You can override this behavior by manually supplying an auth token using ``--os-url`` and ``--os-auth-token``. You can alternatively set these environment variables:: - export OS_URL=http://tacker.example.org:8888/ + export OS_URL=http://tacker.example.org:9890/ export OS_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155 If tacker server does not require authentication, besides these two arguments or environment variables (We can use any value as token.), we need manually supply ``--os-auth-strategy`` or set the environment variable:: diff --git a/tackerclient/tests/unit/test_shell.py b/tackerclient/tests/unit/test_shell.py index 3e756ca1..6314afbb 100644 --- a/tackerclient/tests/unit/test_shell.py +++ b/tackerclient/tests/unit/test_shell.py @@ -35,7 +35,7 @@ DEFAULT_TENANT_ID = 'tenant_id' DEFAULT_TENANT_NAME = 'tenant_name' DEFAULT_AUTH_URL = 'http://127.0.0.1:5000/v1.0/' DEFAULT_TOKEN = '3bcc3d3a03f44e3d8377f9247b0ad155' -DEFAULT_URL = 'http://tacker.example.org:8888/' +DEFAULT_URL = 'http://tacker.example.org:9890/' class ShellTest(testtools.TestCase):