Skip to content

Homework 2. DevStack Manipulation Through CLI

life1347 edited this page Nov 5, 2013 · 20 revisions

Nova

create instance through CLI

#creds
#Paste the following:
export OS_TENANT_NAME=xxx
export OS_USERNAME=xxx
export OS_PASSWORD=xxx
export OS_AUTH_URL="http://10.211.55.38:5000/v2.0/"

load creds

$ source creds

nova-create-instance nova-launch-instance

$ nova pause 83dfe637-943c-45aa-956d-2481e53139d0

nova-launch-instance

Neutron

create network

$ neutron net-create --tenant-id 873298b5fbff44b4b13a41270296af0f demo

neutron-create-network

create subnet

$ neutron subnet-create --tenant-id 873298b5fbff44b4b13a41270296af0f demo 50.50.1.0/24 --dns_nameservers list=true 8.8.8.7 8.8.8.8

neutron-create-subnet