13. Three windows on the same services¶
The Horizon front desk and the command-line table.

At the front desk of the town hall, Imani shows Neri a large, clear board: the list of Neri's houses, their status, their addresses, a button to build another. Neri likes it at once.
At the back of the room LUMO sits at a plain table and types a short line. The same list appears, as text. Behind both, a third window that nobody looks at directly: the town hall's own counters, where every request really goes.

"Which one is the real one?" Neri asks. "All three ask the same counters," Imani says. "I just make it easier to fill in the form."

Important
Where the picture stops. Changing the client does not change the service being asked. The rights and the answers depend on the cloud: if your role does not allow an action, no window will let you do it.
What it is in OpenStack¶
- Every OpenStack service exposes a REST API over HTTP. That is the only way to talk to it.
- Horizon is the web dashboard: a client that calls those APIs for you.
- The
openstackcommand-line client (OSC) is another client, convenient for scripts and repeatable work. - SDKs (such as
openstacksdkin Python) and tools such as Terraform or Ansible are clients too.
All of them authenticate with Keystone, read the catalog and send the same API calls.
From the village to OpenStack¶
flowchart LR
H["Horizon<br/>(web dashboard)"] -->|"HTTPS + token"| NAPI["Nova API"]
CLI["openstack CLI"] -->|"HTTPS + token"| NAPI
SDK["SDK, Terraform, Ansible"] -->|"HTTPS + token"| NAPI
NAPI -->|"answer: the same list of servers"| H
See it for real¶
In Horizon: Project → Compute → Instances. On the command line:
openstack server list
openstack server list --debug
--debug shows the actual API requests the client sends, and the endpoint from the catalog it sends them to.
The lantern: one light joins three windows to the same set of services.
Next: LUMO wants to see what lets the services of the town hall work together. 14. Behind the town hall →
To remember
Lumo: if you keep only 3 things from this page, keep these.
- Every OpenStack service exposes a REST API; it is the only way to talk to it.
- Horizon, the
openstackCLI, SDKs and tools such as Terraform are all clients of those APIs. - Changing the client does not change what you are allowed to do: roles and policies decide.
Check yourself
Lumo: 2 quick questions to check the main ideas of this page. Choose an answer to see the explanation and the section that gives the evidence. Your score counts your first choices and stays in this browser only.