Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [(keystone_admin)]# neutron port-list
- +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
- | id | name | mac_address | fixed_ips |
- +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
- | 04654f7e-7fc6-4181-a262-45243f38d1d7 | | fa:16:3e:64:a7:a3 | {"subnet_id": "199e066d-1727-485e-a8da-76d5f3511055", "ip_address": "10.254.102.130"} |
- | 35e90c72-abcf-4e62-9c07-099acf8f075e | | fa:16:3e:07:aa:6d | {"subnet_id": "199e066d-1727-485e-a8da-76d5f3511055", "ip_address": "10.254.102.131"} |
- | 668f5906-6533-4e98-9fd1-4ed06a8b4628 | | fa:16:3e:f2:c0:41 | {"subnet_id": "199e066d-1727-485e-a8da-76d5f3511055", "ip_address": "10.254.102.129"} |
- | 9b468f73-9659-445c-b459-d51de8d5ef43 | | fa:16:3e:44:19:c3 | {"subnet_id": "9956ee96-9baf-4408-ba16-27106e5f97ac", "ip_address": "192.168.0.1"} |
- | ebb03814-43df-47c3-b3ca-29c16ad1d9a0 | | fa:16:3e:53:7c:3e | {"subnet_id": "9956ee96-9baf-4408-ba16-27106e5f97ac", "ip_address": "192.168.0.2"} |
- +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
- [(keystone_admin)]# neutron floatingip-list
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- | id | fixed_ip_address | floating_ip_address | port_id |
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- | e3a8a62a-39d4-4eef-a043-c0d1097a8c72 | 192.168.0.2 | 10.254.102.131 | ebb03814-43df-47c3-b3ca-29c16ad1d9a0 |
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- [(keystone_admin)]# neutron floatingip-show e3a8a62a-39d4-4eef-a043-c0d1097a8c72
- +---------------------+--------------------------------------+
- | Field | Value |
- +---------------------+--------------------------------------+
- | fixed_ip_address | 192.168.0.2 |
- | floating_ip_address | 10.254.102.131 |
- | floating_network_id | 6802d6c3-ecb0-464a-b5ca-476b7f76c935 |
- | id | e3a8a62a-39d4-4eef-a043-c0d1097a8c72 |
- | port_id | ebb03814-43df-47c3-b3ca-29c16ad1d9a0 |
- | router_id | 2d9b71f1-6e54-4a05-a0fb-0680233d6dea |
- | status | ACTIVE |
- | tenant_id | ee2645070da544a8880f0cb1649fe2e9 |
- +---------------------+--------------------------------------+
- [(keystone_admin)]# nova list --all-tenant
- +--------------------------------------+------+----------------------------------+--------+------------+-------------+----------------------------------+
- | ID | Name | Tenant ID | Status | Task State | Power State | Networks |
- +--------------------------------------+------+----------------------------------+--------+------------+-------------+----------------------------------+
- | 1e0c4188-fc78-4bd3-b3f5-436167b0ccae | web | ee2645070da544a8880f0cb1649fe2e9 | ACTIVE | - | Running | net1=192.168.0.2, 10.254.102.131 |
- +--------------------------------------+------+----------------------------------+--------+------------+-------------+----------------------------------+
- [(keystone_admin)]# neutron floatingip-show e3a8a62a-39d4-4eef-a043-c0d1097a8c72
- +---------------------+--------------------------------------+
- | Field | Value |
- +---------------------+--------------------------------------+
- | fixed_ip_address | 192.168.0.2 |
- | floating_ip_address | 10.254.102.131 |
- | floating_network_id | 6802d6c3-ecb0-464a-b5ca-476b7f76c935 |
- | id | e3a8a62a-39d4-4eef-a043-c0d1097a8c72 |
- | port_id | ebb03814-43df-47c3-b3ca-29c16ad1d9a0 |
- | router_id | 2d9b71f1-6e54-4a05-a0fb-0680233d6dea |
- | status | ACTIVE |
- | tenant_id | ee2645070da544a8880f0cb1649fe2e9 |
- +---------------------+--------------------------------------+
- [(keystone_admin)]# neutron security-group-show sec2
- +----------------------+--------------------------------------------------------------------+
- | Field | Value |
- +----------------------+--------------------------------------------------------------------+
- | description | |
- | id | 36385509-cd0a-454c-9850-788d78f03d9c |
- | name | sec2 |
- | security_group_rules | { |
- | | "remote_group_id": null, |
- | | "direction": "egress", |
- | | "remote_ip_prefix": null, |
- | | "protocol": null, |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": null, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": null, |
- | | "ethertype": "IPv4", |
- | | "id": "1db2f51a-80a5-4bb8-83a6-19b6be2281d1" |
- | | } |
- | | { |
- | | "remote_group_id": null, |
- | | "direction": "ingress", |
- | | "remote_ip_prefix": "0.0.0.0/0", |
- | | "protocol": "tcp", |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": 443, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": 443, |
- | | "ethertype": "IPv4", |
- | | "id": "43b2f25f-8f33-4a14-a98c-dfca07212dbe" |
- | | } |
- | | { |
- | | "remote_group_id": null, |
- | | "direction": "ingress", |
- | | "remote_ip_prefix": "0.0.0.0/0", |
- | | "protocol": "tcp", |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": 80, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": 80, |
- | | "ethertype": "IPv4", |
- | | "id": "5b4efae2-79cb-4677-808d-97202d7823ce" |
- | | } |
- | | { |
- | | "remote_group_id": null, |
- | | "direction": "ingress", |
- | | "remote_ip_prefix": "0.0.0.0/0", |
- | | "protocol": "icmp", |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": null, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": null, |
- | | "ethertype": "IPv4", |
- | | "id": "5f73276e-e6a2-4a1b-867a-6f71c7aa3ebb" |
- | | } |
- | | { |
- | | "remote_group_id": null, |
- | | "direction": "egress", |
- | | "remote_ip_prefix": null, |
- | | "protocol": null, |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": null, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": null, |
- | | "ethertype": "IPv6", |
- | | "id": "ae646147-600f-4148-9c8c-63a8f34f8ef1" |
- | | } |
- | | { |
- | | "remote_group_id": null, |
- | | "direction": "ingress", |
- | | "remote_ip_prefix": "0.0.0.0/0", |
- | | "protocol": "tcp", |
- | | "tenant_id": "ee2645070da544a8880f0cb1649fe2e9", |
- | | "port_range_max": 22, |
- | | "security_group_id": "36385509-cd0a-454c-9850-788d78f03d9c", |
- | | "port_range_min": 22, |
- | | "ethertype": "IPv4", |
- | | "id": "e4f9c0c5-fd76-4db3-8eab-49f697264379" |
- | | } |
- | tenant_id | ee2645070da544a8880f0cb1649fe2e9 |
- +----------------------+--------------------------------------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement