Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated NovaCLI commands to OpenStack CLI, as NovaCLI is now deprecated. #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions utils/openstack-status
Original file line number Diff line number Diff line change
Expand Up @@ -270,25 +270,25 @@ fi

if test "$keystonerc" && test "$glance"; then
printf "== Glance images ==\n"
glance image-list
openstack image list
fi

if test "$nova"; then
if ! test "$keystonerc" && ! test "$NOVA_USERNAME"; then
test "$keystone" || echo "Warning novarc not sourced" >&2
else
printf "== Nova managed services ==\n"
nova service-list
openstack compute service list

printf "== Nova networks ==\n"
nova network-list
openstack network list

printf "== Nova instance flavors ==\n"
# Check direct access
nova flavor-list
openstack flavor list

printf "== Nova instances ==\n"
# Check access through the API
nova list --all-tenants # instances
openstack server list --all-projects # instances
fi
fi