Added some OpenStack CLI command examples
This commit is contained in:
parent
6b094db607
commit
ba5466cacf
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -120,3 +120,21 @@ cd ~/mcp
|
||||||
# or in openstack namespace
|
# or in openstack namespace
|
||||||
./deploy-netchecker.sh openstack
|
./deploy-netchecker.sh openstack
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* CCP
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Run a bash in one of containers
|
||||||
|
docker run -t -i 127.0.0.1:31500/mcp/nova-base /bin/bash
|
||||||
|
|
||||||
|
# Inside container export credentials
|
||||||
|
export OS_USERNAME=admin
|
||||||
|
export OS_PASSWORD=password
|
||||||
|
export OS_TENANT_NAME=admin
|
||||||
|
export OS_REGION_NAME=RegionOne
|
||||||
|
export OS_AUTH_URL=http://keystone:35357
|
||||||
|
|
||||||
|
# Run CLI commands
|
||||||
|
openstack service list
|
||||||
|
neutron agent-list
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue