找回密码
 注册
查看: 4060|回复: 1

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-12-7 09:58:17 | 显示全部楼层 |阅读模式
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed    查看租户下,所有的安全组规则
; r' B4 h5 }% U, a" c# A+--------------------------------------+-------------+----------------------------------------------------------------------+
1 \  Q6 b9 z7 D; {) t8 b5 L$ \ | id                                   | name        | security_group_rules                                                 |
! W: `/ r! N3 R5 {1 h4 t +--------------------------------------+-------------+----------------------------------------------------------------------+$ F; a9 ~# F3 ?! K/ P% C
| 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default     | egress, IPv4                                                         |: V- P* c7 T0 J
|                                      |             | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0               |  {, P3 O9 U8 ]" f- \) f0 I5 |% w
|                                      |             | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0               |
# A% B. l2 O& z5 L5 [5 a! C |                                      |             | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                      |) |: f# p, m% N0 ?; [
|                                      |             | egress, IPv4, remote_ip_prefix: 0.0.0.0/0                            |* m6 Q+ S* h8 B9 r9 `& f0 H8 v6 A+ ~# e
|                                      |             | egress, IPv6                                                         |2 g0 n4 j# s. Y* O, \+ m( }0 Y3 V
|                                      |             | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0              |
& X4 m- P; N$ W3 V0 Q+ T |                                      |             | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0              |4 b; O4 B, G* L* t% B
|                                      |             | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                     |% l) W5 E- Y5 n- P8 G. b" _
|                                      |             | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |) r, [$ [3 I& e1 F  b
|                                      |             | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0                           |+ ~/ j5 [: k2 R& N* G
|                                      |             | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
! q2 `2 ?6 r+ W& y+ [ | 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal      | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27            |; b+ M1 W+ |2 P
| e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4                                                         |; m  i. I* Y# S+ U( ^( c
|                                      |             | egress, IPv6                                                         |
! Q9 s2 [/ S' M# n, z2 g+ L +--------------------------------------+-------------+----------------------------------------------------------------------+
+ P  Z+ c9 {' `; a7 u7 F/ C  p

! s' A  W$ E+ z: a7 y( K/ jneutron security-group-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc
2 p; F0 Q9 v% d' U& p$ ]( i6 A9 o5 y5 w& Y
& m% }2 d. V, j4 ~$ c8 \& ~$ ~
5 q1 H/ ^( {0 f  u% ~# K6 o8 ?
neutron security-group-rule-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc
  d2 N& S8 f; R+--------------------------------------+----------------+-----------+-----------+---------------+--------+
. B, X8 O1 O9 {/ u7 T3 P% D) ?( k| id                                   | security_group | direction | ethertype | protocol/port | remote |
+ Y7 h8 k& i( f2 T( k' z+--------------------------------------+----------------+-----------+-----------+---------------+--------+
# c- ?+ N- i) r+ f| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM      | egress    | IPv6      | any           | any    |
5 d1 M& [/ u8 m+ S| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM      | egress    | IPv4      | any           | any    |9 c- H, ~- N! x
+--------------------------------------+----------------+-----------+-----------+---------------+--------+  l% |2 M, z3 Z& e
4 X# F) ~, n) x% F1 ?

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2018-12-23 20:27:35 | 显示全部楼层
neutron security-group-list 查看安全组规则  --tenant-id 用户ID 4f6428ba9f8e4741863e6af3f836530e   ID号2 @2 ^( \. {2 }% w
+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
' x% T& H% ^. T| id                                   | name        | security_group_rules                                                              |( |; o: _0 W% p3 e
+--------------------------------------+-------------+-----------------------------------------------------------------------------------++ n+ i/ g  J" h8 J$ W! {0 \
| 0a7198fc-1637-4b0b-b40a-e0e6eb20d108 | redis       | egress, IPv4                                                                      |% d- Q+ I4 P; a9 v& Z3 _+ E9 [1 x
|                                      |             | egress, IPv6                                                                      |/ i3 e0 e9 ~- y) u' r7 ?
|                                      |             | ingress, IPv4, 6379-7777/tcp, remote_ip_prefix: 192.168.0.0/32                    |0 x  R. v. y. }7 l; f+ c
; s! R6 W/ P) }% D2 B. }8 j
| 636b1e72-5234-4b2f-92eb-d3110131d745 | default_nas | egress, IPv4                                                                      |
# |6 g4 G, C2 V1 M- H6 c|                                      |             | egress, IPv6                                                                      |  {! L4 l( m* S9 w# g
| 854811d7-58be-4daf-b07e-af2a219a7aae | cmppserver  | egress, IPv4                                                                      |
& S- l+ q- L* |+ P! N! c/ J|                                      |             | egress, IPv6                                                                      |
- \/ g# g$ z+ e' g9 t|                                      |             | ingress, IPv4, 7890/tcp, remote_ip_prefix: 0.0.0.0/0                              |1 |$ A* D9 u' J; ^
|                                      |             | ingress, IPv4, 7891-7892/tcp, remote_ip_prefix: 0.0.0.0/0                         |4 u  W) v7 e% s2 \1 U4 }, n
| cec4ee94-91ac-4c6c-be78-8d15fb676d2b | http_recv   | egress, IPv4                                                                      |
8 v7 A/ `4 i0 P( ^% s* t3 K|                                      |             | egress, IPv6                                                                      |7 x  l; m5 B# a: g0 y' x8 p
|                                      |             | ingress, IPv4, 15672/tcp, remote_ip_prefix: 0.0.0.0/0                             |
1 o  a- S$ \4 L6 M# V; K6 s+ R$ L+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:58 , Processed in 0.017153 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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