查看安全组列表
[root@controller ~]# openstack security group list | ||||
---|---|---|---|---|
ID | Name | Description | Project | Tags |
1f24ec9a-b27e-448e-b43a-140c62353f3d | default | Default security group | b03aac1f6ae94f7bada2afa8f2064312 | [] |
499caef4-117b-46c9-9e5d-0ce5edc1df63 | default | Default security group | [] | |
ed06d8ce-34ec-4b13-bc91-1d7983db7a63 | default | Default security group | ad8d7966165b4619aab21300e50f7020 | [] |
查看某个安全组的信息
[root@controller ~]# openstack security group show 1f24ec9a-b27e-448e-b43a-140c62353f3d | |
---|---|
Field | Value |
created_at | 2019-05-08T09:30:12Z |
description | Default security group |
id | 1f24ec9a-b27e-448e-b43a-140c62353f3d |
name | default |
project_id | b03aac1f6ae94f7bada2afa8f2064312 |
revision_number | 2 |
rules | created_at='2019-05-08T09:30:12Z', direction='egress', ethertype='IPv4', id='02511b0c-1241-4f57-9960-d4f5b50d6939', updated_at='2019-05-08T09:30:12Z' |
created_at='2019-05-08T09:30:12Z', direction='ingress', ethertype='IPv6', id='03b00c5b-b41f-49a0-bf7b-25c242f49540', remote_group_id='1f24ec9a-b27e-448e-b43a-140c62353f3d', updated_at='2019-05-08T09:30:12Z' | |
created_at='2019-05-08T09:30:12Z', direction='egress', ethertype='IPv6', id='4107992f-e3b7-44ce-9bd2-f141f11526db', updated_at='2019-05-08T09:30:12Z' | |
created_at='2019-05-08T09:30:12Z', direction='ingress', ethertype='IPv4', id='60215d9e-0e99-4b85-99bd-785790ed642f', remote_group_id='1f24ec9a-b27e-448e-b43a-140c62353f3d', updated_at='2019-05-08T09:30:12Z' | |
created_at='2019-05-08T09:34:37Z', direction='ingress', ethertype='IPv4', id='788b4a91-e0a2-4897-9de6-b7d246965614', protocol='tcp', remote_ip_prefix='0.0.0.0/0', updated_at='2019-05-08T09:34:37Z' | |
tags | [] |
updated_at | 2019-05-08T09:34:37Z |
[root@controller ~]# openstack security group show 499caef4-117b-46c9-9e5d-0ce5edc1df63 | |
---|---|
Field | Value |
created_at | 2019-05-08T09:32:26Z |
description | Default security group |
id | 499caef4-117b-46c9-9e5d-0ce5edc1df63 |
name | default |
project_id | |
revision_number | 1 |
rules | created_at='2019-05-08T09:32:26Z', direction='ingress', ethertype='IPv6', id='25de9bb2-5c26-4fb2-9dfa-77415878cf3a', remote_group_id='499caef4-117b-46c9-9e5d-0ce5edc1df63', updated_at='2019-05-08T09:32:26Z' |
created_at='2019-05-08T09:32:26Z', direction='egress', ethertype='IPv6', id='4ccf37fb-42f8-45cf-b656-5df1c2ed0ed2', updated_at='2019-05-08T09:32:26Z' | |
created_at='2019-05-08T09:32:26Z', direction='egress', ethertype='IPv4', id='9c7416bc-42fa-4e9c-adc1-0ab9438a4bc6', updated_at='2019-05-08T09:32:26Z' | |
created_at='2019-05-08T09:32:26Z', direction='ingress', ethertype='IPv4', id='c8434a5e-6ab5-4ad7-8840-50b0d3b2a846', remote_group_id='499caef4-117b-46c9-9e5d-0ce5edc1df63', updated_at='2019-05-08T09:32:26Z' | |
tags | [] |
updated_at | 2019-05-08T09:32:26Z |