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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2019-3-22 21:02:19 | 显示全部楼层 |阅读模式
指定租户创建安全组7 x& X! y, T$ q* a5 T
neutron security-group-rule-create   fd62cb70-0dbf-4f1e-a599-6f1b51d53896 --direction ingress   --ethertype IPv4 --tenant-id 249a0e5d99454b77bad657e33c161c0b- \' g7 i& g# H4 x8 ~
查看
3 r7 P' H' x3 x' j# }; @7 s6 V$ ]8 {' u
neutron security-group-rule-list --security-group-id fd62cb70-0dbf-4f1e-a599-6f1b51d53896 0 k, U5 r" p3 e, `$ w
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
' I1 _1 r: M/ c, H. b' c* I  v| id                                   | security_group | direction | ethertype | protocol/port | remote |& g- E4 |0 G7 L* a, n* u
+--------------------------------------+----------------+-----------+-----------+---------------+--------+4 `3 z: g. C9 l; ~
| 1d056f89-1c91-4f17-af7f-02f6bc1f47e8 | test_bm_BM     | egress    | IPv6      | any           | any    |
5 L/ A( P' X; a) C, f3 w" K| 7d960b96-e9ba-477b-ba9d-8617e7bc52d5 | test_bm_BM     | ingress   | IPv4      | any           | any    |9 X- j) j$ b7 H; u8 }% ]
| dc7a6511-171b-476a-8a9c-0869ef90be33 | test_bm_BM     | egress    | IPv4      | any           | any    |
0 t2 R+ f* F  o* u7 ]+--------------------------------------+----------------+-----------+-----------+---------------+--------+
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:17 , Processed in 0.014537 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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