Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created November 24, 2021 13:50
Show Gist options
  • Save sombrafam/da770f4d9cd96cccd05500e71d01d484 to your computer and use it in GitHub Desktop.
Save sombrafam/da770f4d9cd96cccd05500e71d01d484 to your computer and use it in GitHub Desktop.
[ubuntu@sombrafam-bastion(kvm):~]$ openstack server list
+--------------------------------------+-----------------+--------+-------------------------------------+--------+-----------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-----------------+--------+-------------------------------------+--------+-----------+
| 66351a61-6337-4fe6-8b2f-6274de0ef018 | cirros-185134-2 | ACTIVE | private=192.168.21.63, 10.5.151.178 | cirros | m1.cirros |
| fe571d4e-b262-419c-9f04-b376d1cc5e5d | cirros-185134-1 | ACTIVE | private=192.168.21.12 | cirros | m1.cirros |
+--------------------------------------+-----------------+--------+-------------------------------------+--------+-----------+
[ubuntu@sombrafam-bastion(kvm):~]$ openstack port list
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
| 1253251a-841f-4664-8c92-3f61639d2041 | | fa:16:3e:ae:68:e6 | ip_address='10.5.152.127', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' | N/A |
| 2b5808cf-4c6f-470f-a1dd-2cd74849589a | | fa:16:3e:a9:06:c3 | ip_address='192.168.21.2', subnet_id='b67ccc8a-c1f6-48e1-accf-6c2edb17ccc1' | DOWN |
| 2cdc8867-b193-4688-877a-961942c8e59e | | fa:16:3e:ad:4e:34 | ip_address='10.5.151.178', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' | N/A |
| 5df7fbc5-c422-4f3f-81c8-8a3c39b26fcc | | fa:16:3e:2c:22:bd | ip_address='192.168.21.63', subnet_id='b67ccc8a-c1f6-48e1-accf-6c2edb17ccc1' | ACTIVE |
| 6be22aa0-5c8f-46be-b49e-def9fe02c12f | | fa:16:3e:e9:82:7a | | DOWN |
| 785dc14c-c9c8-47f0-a3d8-9c92f76b77a3 | | fa:16:3e:ee:e2:99 | ip_address='192.168.21.1', subnet_id='b67ccc8a-c1f6-48e1-accf-6c2edb17ccc1' | ACTIVE |
| 849ef74a-5bb6-499d-b018-3a45a21bd575 | | fa:16:3e:67:93:5c | ip_address='10.5.153.47', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' | N/A |
| 9cc018f5-6acf-4128-9b46-ce9275d59f28 | | fa:16:3e:f9:10:14 | ip_address='192.168.21.12', subnet_id='b67ccc8a-c1f6-48e1-accf-6c2edb17ccc1' | ACTIVE |
| d7161c66-173b-4deb-ab7d-5ab59394b6a8 | | fa:16:3e:fe:98:30 | ip_address='10.5.150.222', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' | N/A |
| ffdfc41f-25ea-46b2-8174-60d517797ac2 | | fa:16:3e:f7:05:ab | ip_address='10.5.153.82', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' | ACTIVE |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
[ubuntu@sombrafam-bastion(kvm):~]$
[ubuntu@sombrafam-bastion(kvm):~]$ openstack port show 2cdc8867-b193-4688-877a-961942c8e59e
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | UP |
| allowed_address_pairs | |
| binding_host_id | |
| binding_profile | |
| binding_vif_details | |
| binding_vif_type | unbound |
| binding_vnic_type | normal |
| created_at | 2021-11-22T18:52:14Z |
| data_plane_status | None |
| description | |
| device_id | 75dfd7c0-ca7c-492b-b98b-1e5835e438a8 |
| device_owner | network:floatingip |
| dns_assignment | fqdn='host-10-5-151-178.my-os-deployment.stsstack.qa.1ss.', hostname='host-10-5-151-178', ip_address='10.5.151.178' |
| dns_domain | None |
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | ip_address='10.5.151.178', subnet_id='7228f801-e1a6-4aaa-a6f2-56368d5a0d82' |
| id | 2cdc8867-b193-4688-877a-961942c8e59e |
| ip_allocation | immediate |
| location | cloud='', project.domain_id=, project.domain_name='admin_domain', project.id='b3ecad931ce84d2686731eecbdccbea2', project.name='admin', region_name='RegionOne', zone= |
| mac_address | fa:16:3e:ad:4e:34 |
| name | |
| network_id | a34e4357-bff7-4503-b68d-1d8322e3c059 |
| port_security_enabled | False |
| project_id | b3ecad931ce84d2686731eecbdccbea2 |
| propagate_uplink_status | None |
| qos_network_policy_id | d0c9400e-c467-4922-b8a4-b77a2abf4a67 |
| qos_policy_id | d0c9400e-c467-4922-b8a4-b77a2abf4a67 |
| resource_request | None |
| revision_number | 5 |
| security_group_ids | |
| status | N/A |
| tags | |
| trunk_details | None |
| updated_at | 2021-11-23T18:02:16Z |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[ubuntu@sombrafam-bastion(kvm):~]$ openstack port show 5df7fbc5-c422-4f3f-81c8-8a3c39b26fcc
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | UP |
| allowed_address_pairs | |
| binding_host_id | juju-623a8a-my-os-deployment-8.cloud.sts |
| binding_profile | |
| binding_vif_details | port_filter='True' |
| binding_vif_type | ovs |
| binding_vnic_type | normal |
| created_at | 2021-11-22T18:51:40Z |
| data_plane_status | None |
| description | |
| device_id | 66351a61-6337-4fe6-8b2f-6274de0ef018 |
| device_owner | compute:nova |
| dns_assignment | fqdn='cirros-185134-2.my-os-deployment.stsstack.qa.1ss.', hostname='cirros-185134-2', ip_address='192.168.21.63' |
| dns_domain | None |
| dns_name | cirros-185134-2 |
| extra_dhcp_opts | |
| fixed_ips | ip_address='192.168.21.63', subnet_id='b67ccc8a-c1f6-48e1-accf-6c2edb17ccc1' |
| id | 5df7fbc5-c422-4f3f-81c8-8a3c39b26fcc |
| ip_allocation | immediate |
| location | cloud='', project.domain_id=, project.domain_name='admin_domain', project.id='b3ecad931ce84d2686731eecbdccbea2', project.name='admin', region_name='RegionOne', zone= |
| mac_address | fa:16:3e:2c:22:bd |
| name | |
| network_id | 17d28507-2947-4500-97f0-ad7887233f85 |
| port_security_enabled | True |
| project_id | b3ecad931ce84d2686731eecbdccbea2 |
| propagate_uplink_status | None |
| qos_network_policy_id | None |
| qos_policy_id | None |
| resource_request | None |
| revision_number | 10 |
| security_group_ids | 78c17d9c-80ee-4edf-8e2a-f290bbf66593 |
| status | ACTIVE |
| tags | |
| trunk_details | None |
| updated_at | 2021-11-24T13:21:32Z |
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment