117 lines
2.6 KiB
ReStructuredText
117 lines
2.6 KiB
ReStructuredText
..
|
|
Copyright 2010 United States Government as represented by the
|
|
Administrator of the National Aeronautics and Space Administration.
|
|
All Rights Reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
not use this file except in compliance with the License. You may obtain
|
|
a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
|
|
|
|
The nova-manage command
|
|
=======================
|
|
|
|
Introduction
|
|
~~~~~~~~~~~~
|
|
|
|
The nova-manage command is used to perform many essential functions for
|
|
administration and ongoing maintenance of nova, such as user creation,
|
|
vpn management, and much more.
|
|
|
|
The standard pattern for executing a nova-manage command is:
|
|
|
|
``nova-manage <category> <command> [<args>]``
|
|
|
|
For example, to obtain a list of all projects:
|
|
|
|
``nova-manage project list``
|
|
|
|
You can run without arguments to see a list of available command categories:
|
|
|
|
``nova-manage``
|
|
|
|
You can run with a category argument to see a list of all commands in that
|
|
category:
|
|
|
|
``nova-manage user``
|
|
|
|
|
|
Nova Shell
|
|
~~~~~~~~~~
|
|
|
|
* shell bpython
|
|
* start a new bpython shell
|
|
* shell ipython
|
|
* start a new ipython shell
|
|
* shell python
|
|
* start a new python shell
|
|
* shell run
|
|
* ???
|
|
* shell script: Runs the script from the specifed path with flags set properly.
|
|
* arguments: path
|
|
|
|
|
|
Concept: Flags
|
|
--------------
|
|
|
|
python-gflags
|
|
|
|
|
|
Concept: Plugins
|
|
----------------
|
|
|
|
* Managers/Drivers: utils.import_object from string flag
|
|
* virt/connections: conditional loading from string flag
|
|
* db: LazyPluggable via string flag
|
|
* auth_manager: utils.import_class based on string flag
|
|
* Volumes: moving to pluggable driver instead of manager
|
|
* Network: pluggable managers
|
|
* Compute: same driver used, but pluggable at connection
|
|
|
|
|
|
Concept: IPC/RPC
|
|
----------------
|
|
|
|
Rabbit!
|
|
|
|
|
|
Concept: Fakes
|
|
--------------
|
|
|
|
* auth
|
|
* ldap
|
|
|
|
|
|
Concept: Scheduler
|
|
------------------
|
|
|
|
* simple
|
|
* random
|
|
|
|
|
|
Concept: Security Groups
|
|
------------------------
|
|
|
|
Security groups
|
|
|
|
|
|
Concept: Certificate Authority
|
|
------------------------------
|
|
|
|
Nova does a small amount of certificate management. These certificates are used for :ref:`project vpns <../cloudpipe>` and decrypting bundled images.
|
|
|
|
|
|
Concept: Images
|
|
---------------
|
|
|
|
* launching
|
|
* bundling
|