En OpenStack, los comandos corresponden a los componentes de OpenStack. Por ejemplo, el comando nova se aplica a las operaciones de cálculo, cinder a almacenamiento y neutron a redes.
Para obtener ayuda sobre cómo usar estos comandos con la sintaxis correcta, los subcomandos admitidos, las opciones posibles, etc., use el comando command-component help, por ejemplo nova help o neutron help. Puede filtrar la lista de subcomandos posibles para usar con el comando command-component usando el comando grep. Por ejemplo, para mostrar los subcomandos de neutron relacionados con los enrutadores, debe escribir el siguiente comando:
# neutron help | grep router l3-agent-list-hosting-router List L3 agents hosting a router. l3-agent-router-add Add a router to a L3 agent. l3-agent-router-remove Remove a router from a L3 agent. net-gateway-connect Add an internal network interface to a router. router-create Create a router for a given tenant. router-delete Delete a given router. router-gateway-clear Remove an external network gateway from a router. router-gateway-set Set the external network gateway for a router. router-interface-add Add an internal network interface to a router. router-interface-delete Remove an internal network interface from a router. router-list List routers that belong to a given tenant. router-list-on-l3-agent List the routers on a L3 agent. router-port-list List ports that belong to a given tenant, with specified router. router-show Show information of a given router. router-update Update router's information.
Entonces, para obtener detalles específicos acerca de un subcomando, como router-list que identifica los enrutadores en la nube, debe escribir el siguiente comando:
# neutron help router-list