Before we try out the Neutron commandline, I would like to look at the
Titan project's Network Topology. There doesn't seem to be much,
indeed, just external network named public is there.
On the commandline, I'm taking on the Titan identity, and do the same thing.
List all the networks, and indeed, there is only a public one.
As demo project, I hope to see three networks, namely appnet and
private, in addition to public. By the way, the two public networks
are actually the same, as you can see from their IDs.
Back to the Titan identity, I would like to see the details of this
public network, let me point out the id, the name, and also the owning
project, I don't know why it appears twice, this is probably a little bug.
As project Titan, I'm unfortunately unable to see which project that
is, but I can compare it with my own project_id.
And indeed, it looks like I don't own this network.
Since the network is also not shared, this means I am unable to run
instances directly connected to it. Like most other networks,
public also has a subnet, and I'd like to see its details.
This fails, why? Well, I neither own the network, nor do I own the
subnet, and for that reason, I can't see details of that subnet.
So what can I do? Well obviously create my own network.
Let me compare its project_id with my project_id now.
And you can see they are identical as expected.
Most networks need a subnet, so I will create one.
The parameters here are the network name, or the network ID would work
as well, and then the IP address range. And this network also has a subnet now.
Let's look at the third type of resource, the port.
We have already one port, and please note it has a MAC address and an
IP address associated with it. To copy the ID, I will now display the
port list in this way, and here are the details of this port.
Please note the device_owner field here, it shows us what type of port it is.
This port is associated with a DHCP server, it's the network
attachment of that DHCP server. To launch an instance, I will now
list my networks again, and to make it easier to pick up the ID,
I will change the format, and with that I can now launch the instance.
Let's check whether this was successful, it looks like the instance is
running, and it has an IP address assigned.
We have now a second port, which belongs to the instance.
It's the second one there in the list. Its details, the details show
that this is a port for an instance. The device_owner is of type compute.