• 安全组


    1、列出安全组

    neutron security-group-list
    +--------------------------------------+------------------------+-----------------------------+
    | id | name | description |
    +--------------------------------------+------------------------+-----------------------------+
    | 3240b9f1-aa38-4c2b-b54f-c0bef3550acf | default | default |
    | 97dec244-2ea1-403d-98ee-e10e14c9439d | default_group | default_group |
    | b059a668-a1ae-43d4-93d7-4ed81facb069 | default_group | default_group |
    | b91fd4f2-9f25-4655-9798-307b356a4313 | default | default |
    | c02c6a2a-49ef-415c-9d58-98ec2c773ff1 | default | default |
    | c060196a-7927-463e-b621-7b4e7906215a | test-hzb | fffffff |
    | c8ad80b9-5dcc-4c04-96dc-7e300ff89846 | default | default |
    | de393112-af00-496c-be06-527f68d6c7f9 | scalr.1513b8ee.ip-pool | Scalr system security group |
    +--------------------------------------+------------------------+-----------------------------+

    2、查看安全组

    [root@node-10 nova]# neutron security-group-show 52fdd415-17ff-4032-8bc6-d34996b191b5
    +----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Field                | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
    +----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | description          | default                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
    | id                   | 52fdd415-17ff-4032-8bc6-d34996b191b5                                                                                                                                                                                                                                                                                                                                                                                                                                 |
    | name                 | default                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
    | security_group_rules | {"tcp_flags": null, "remote_group_id": null, "direction": "egress", "protocol": null, "rate": null, "remote_ip_prefix": null, "port_range_max": null, "period": null, "id": "289e4934-f2d9-4fff-9348-ae31d716f034", "security_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "state": null, "block_time": null, "port_range_min": null, "tenant_id": "f1b569fe7ab64a6286f66a990f69eb6d", "action": null, "ethertype": "IPv4"}                                    |
    |                      | {"tcp_flags": null, "remote_group_id": null, "direction": "egress", "protocol": null, "rate": null, "remote_ip_prefix": null, "port_range_max": null, "period": null, "id": "5c7ff87c-acdc-4eb9-8583-d24afc82df86", "security_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "state": null, "block_time": null, "port_range_min": null, "tenant_id": "f1b569fe7ab64a6286f66a990f69eb6d", "action": null, "ethertype": "IPv6"}                                    |
    |                      | {"tcp_flags": null, "remote_group_id": null, "direction": "ingress", "protocol": "icmp", "rate": 1, "remote_ip_prefix": "0.0.0.0/0", "port_range_max": null, "period": 1, "id": "d62720e7-c65f-45df-bd66-6adb21fb3ef8", "security_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "state": null, "block_time": null, "port_range_min": null, "tenant_id": "f1b569fe7ab64a6286f66a990f69eb6d", "action": null, "ethertype": "IPv4"}                                |
    |                      | {"tcp_flags": null, "remote_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "direction": "ingress", "protocol": null, "rate": null, "remote_ip_prefix": null, "port_range_max": null, "period": null, "id": "f08782d5-bea1-4136-99d2-ee03fe435b30", "security_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "state": null, "block_time": null, "port_range_min": null, "tenant_id": "f1b569fe7ab64a6286f66a990f69eb6d", "action": null, "ethertype": "IPv4"} |
    |                      | {"tcp_flags": null, "remote_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "direction": "ingress", "protocol": null, "rate": null, "remote_ip_prefix": null, "port_range_max": null, "period": null, "id": "f512ecc9-f000-4bb9-9c03-58add2ad0a69", "security_group_id": "52fdd415-17ff-4032-8bc6-d34996b191b5", "state": null, "block_time": null, "port_range_min": null, "tenant_id": "f1b569fe7ab64a6286f66a990f69eb6d", "action": null, "ethertype": "IPv6"} |
    | tenant_id            | f1b569fe7ab64a6286f66a990f69eb6d                                                                                                                                                                                                                                                                                                                                                                                                                                     |
    +----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

    3、删除安全组

    neutron security-group-delete c8ad80b9-5dcc-4c04-96dc-7e300ff89846

  • 相关阅读:
    断点下载
    根据显示的字符多少来做Label的自适应高度
    iOS中POST异步请求
    iOS中两个APP之间的跳转和通信
    cocoapod [!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-12508-z77a4l/file.zip https://github.com/kylefleming/opencv/releases/download/3.1.0-ios-fix/opencv2.fram
    使用webview加载html图片、表单超屏幕问题
    uiwebview 加载html时字体变小 加载前或加载后改变字体大小
    uitabbarController tababr 上方横线隐藏
    uinavigationcontroller uinavigationbar 下方横线去除
    贝赛尔曲线 绘制园
  • 原文地址:https://www.cnblogs.com/boshen-hzb/p/8033650.html
Copyright © 2020-2023  润新知