What is the difference between:
- using "the Command-line interface to the OpenStack APIs" through the command "openstack"
and
- using the separate APIs of the different components (for example using the command-line interface to the Neutron APIs directly)?
Advantages and disadvantages?
I'm not quite sure, but what I have been observing recently is a community-wide effort to unify the syntax of the different OpenStack services (and hence the subtle differences between their APIs and CLIs (for instance the param
--key-name
innova
vs the param--keypair
inmagnum
)).Thus I would say, since there is an effort to make the
openstack
command the de-facto standard, that it has more advantages (provided the individual clients are discontinued in the future). However, it really comes down to your preferences or your daily needs.I personally prefer using the
openstack
command since I find more intuitive to "find out" new subcommands I might not be aware of, specially when using the autocomplete:In addition, to find out the equivalents between the OpenStackClient (the
openstack
command) and the respecting CLIs, this list might be useful. It also shows which legacy commands have no equivalent in theopenstack
command