易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4056|回复: 1
收起左侧

neutron 查看某租户下,所有的安全组规则

[复制链接]
发表于 2018-12-7 09:58:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed    查看租户下,所有的安全组规则
9 J8 `6 A: l+ L8 f+--------------------------------------+-------------+----------------------------------------------------------------------+( y6 S; c+ g" o
| id                                   | name        | security_group_rules                                                 |
) @2 K% f5 x+ S- q1 W/ S +--------------------------------------+-------------+----------------------------------------------------------------------+
. t2 [4 ]# A0 v; O/ O | 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default     | egress, IPv4                                                         |
* o- z- n1 Y& N; S8 F* a |                                      |             | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0               |
4 n3 V% u. @0 ?+ ~! q |                                      |             | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0               |; S7 x- |+ c/ J, j
|                                      |             | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                      |
0 c0 c0 v# n, `) e# d |                                      |             | egress, IPv4, remote_ip_prefix: 0.0.0.0/0                            |
. B" `; _; O, B# X  V% z5 Q |                                      |             | egress, IPv6                                                         |
' `2 x" i+ K! b/ @4 @$ r& e/ A |                                      |             | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0              |8 j  m, G# ~. A+ B5 g
|                                      |             | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0              |
0 |! v7 z% ~) p" K7 D |                                      |             | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                     |% E) V  l6 e: K, ?6 i: J8 x2 ~
|                                      |             | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |0 ?- x1 T, A8 m) c4 Z
|                                      |             | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0                           |6 K( c% s5 G6 g
|                                      |             | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |8 ]5 g+ K# G% k; M( x* V
| 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal      | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27            |
+ O7 |5 A( P+ P4 z: n8 r | e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4                                                         |, c8 q! p8 z  I( S$ \- _, C1 i
|                                      |             | egress, IPv6                                                         |, i- m. |& D7 ^$ O1 B) ~
+--------------------------------------+-------------+----------------------------------------------------------------------+* ^; ^, L; `4 Q5 _4 _& s

$ t* J+ o+ ^# O6 l7 b9 D" ?
$ n7 M, K2 |1 M4 f( Z& _( X% Kneutron security-group-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc3 h' f: S# s, K6 Q2 s  z! h' i! b8 g

* S3 x6 ~4 F4 j% F& h' z. u- K3 G$ Y" ]1 P( {2 H( G; V6 O5 h

7 w& B$ V3 C1 O3 w% q, T1 qneutron security-group-rule-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc
+ ]' f7 d+ ?8 K( {( a4 A* c' M/ T8 t8 @+--------------------------------------+----------------+-----------+-----------+---------------+--------+
/ r( ?5 u- l3 a2 c6 t+ [| id                                   | security_group | direction | ethertype | protocol/port | remote |
2 Y2 U" ~- |# h. [4 v- u+--------------------------------------+----------------+-----------+-----------+---------------+--------+
: J. }5 G. Q3 I6 j0 P2 v& R  z| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM      | egress    | IPv6      | any           | any    |+ _! Y! F; w" t( H$ f
| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM      | egress    | IPv4      | any           | any    |6 T% ?% U9 R& q6 `
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
1 |& F  U$ `7 V& P/ R6 r$ L  \$ J
 楼主| 发表于 2018-12-23 20:27:35 | 显示全部楼层
neutron security-group-list 查看安全组规则  --tenant-id 用户ID 4f6428ba9f8e4741863e6af3f836530e   ID号2 U1 \7 L* s* r$ W5 {
+--------------------------------------+-------------+-----------------------------------------------------------------------------------+$ \7 \9 W- z! {2 ]6 R( l
| id                                   | name        | security_group_rules                                                              |
7 `1 e& x5 ^: h$ f7 @$ K9 C1 s+--------------------------------------+-------------+-----------------------------------------------------------------------------------+( K0 u' w' _+ A3 t* W
| 0a7198fc-1637-4b0b-b40a-e0e6eb20d108 | redis       | egress, IPv4                                                                      |
! `6 E( d1 V. g* U0 I2 b& {$ j4 U, d% e|                                      |             | egress, IPv6                                                                      |& k2 K, L5 z: I
|                                      |             | ingress, IPv4, 6379-7777/tcp, remote_ip_prefix: 192.168.0.0/32                    |9 T* e2 y: U! Y; G
& n: g1 w, o# B2 H
| 636b1e72-5234-4b2f-92eb-d3110131d745 | default_nas | egress, IPv4                                                                      |
( S! V+ r- y" \5 j/ M. r% Y: m$ Q|                                      |             | egress, IPv6                                                                      |
8 j, W# w* t5 ~$ |2 ~& @' g| 854811d7-58be-4daf-b07e-af2a219a7aae | cmppserver  | egress, IPv4                                                                      |& q6 `4 H6 \( t/ I0 m
|                                      |             | egress, IPv6                                                                      |; d5 Y% m) [: I2 K! m7 }+ t$ W
|                                      |             | ingress, IPv4, 7890/tcp, remote_ip_prefix: 0.0.0.0/0                              |! r& c8 ]0 s" {# s4 m
|                                      |             | ingress, IPv4, 7891-7892/tcp, remote_ip_prefix: 0.0.0.0/0                         |
* @2 P$ s8 j, f. i| cec4ee94-91ac-4c6c-be78-8d15fb676d2b | http_recv   | egress, IPv4                                                                      |
4 K! V& f" A# g( {$ ~0 t|                                      |             | egress, IPv6                                                                      |8 b, s7 L9 z  P- s: y0 M$ n
|                                      |             | ingress, IPv4, 15672/tcp, remote_ip_prefix: 0.0.0.0/0                             |
/ @  S0 v6 N2 Q3 t6 k+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:53 , Processed in 0.058115 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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