Modified the auth token to match dev env.

This commit is contained in:
Roland Hochmuth 2014-05-25 09:03:35 -06:00
parent 3808b9b70e
commit 881c2c141a
1 changed files with 6 additions and 4 deletions

View File

@ -52,7 +52,7 @@ It is easiest to source them first and then use the CLI.
When token and endpoint are known::
export OS_AUTH_TOKEN=12345678
export OS_AUTH_TOKEN=XXX
export MON_API_URL=http://192.168.10.4:8080/v2.0/
When using Keystone to obtain the token and endpoint::
@ -63,12 +63,14 @@ When using Keystone to obtain the token and endpoint::
export OS_AUTH_URL=
export OS_REGION_NAME=
When using Jahmon Vagrant Environment for test - no Keystone::
When using Vagrant Environment for test which doesn't use Keystone::
export OS_AUTH_TOKEN=12345678 (this will be treated as your tenant id by the api)
export OS_AUTH_TOKEN=82510970543135
export OS_NO_CLIENT_AUTH=1
export MON_API_URL=http://192.168.10.4:8080/v2.0/
The Monitoring API will treat the auth token as the tenant ID when Keystone is not enabled, which is the case for the Vagrant develpment environment.
You'll find complete documentation on the shell by running
``mon help``::
@ -306,4 +308,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.