找回密码
 注册
查看: 3825|回复: 0

neutron添加安全组规则:security-group-rule-add

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2019-3-22 21:02:19 | 显示全部楼层 |阅读模式
指定租户创建安全组6 I9 s, u% V2 B5 K
neutron security-group-rule-create   fd62cb70-0dbf-4f1e-a599-6f1b51d53896 --direction ingress   --ethertype IPv4 --tenant-id 249a0e5d99454b77bad657e33c161c0b
1 i7 r9 W3 t( t2 B- |+ p. W, U7 M/ N查看; n) v6 x; M1 e( }0 z7 |( A+ M

/ {4 w8 ~$ x/ _/ c$ }neutron security-group-rule-list --security-group-id fd62cb70-0dbf-4f1e-a599-6f1b51d53896
6 [3 L" u: O# f+--------------------------------------+----------------+-----------+-----------+---------------+--------+
0 x- p' \* n$ q2 H, |" c| id                                   | security_group | direction | ethertype | protocol/port | remote |
7 z( q; _2 \. B; l5 b+--------------------------------------+----------------+-----------+-----------+---------------+--------+
0 v# z& [0 O/ n4 ~; B( ]| 1d056f89-1c91-4f17-af7f-02f6bc1f47e8 | test_bm_BM     | egress    | IPv6      | any           | any    |3 D& p1 t& m3 c2 W7 w& ?5 f; W. U& K
| 7d960b96-e9ba-477b-ba9d-8617e7bc52d5 | test_bm_BM     | ingress   | IPv4      | any           | any    |" K& }4 v+ U" i" @
| dc7a6511-171b-476a-8a9c-0869ef90be33 | test_bm_BM     | egress    | IPv4      | any           | any    |5 b" W6 r4 W2 F8 r) Y
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:24 , Processed in 0.015029 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表