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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-12-7 09:58:17 | 显示全部楼层 |阅读模式
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed    查看租户下,所有的安全组规则
/ F% V* x! N3 h4 a/ b+--------------------------------------+-------------+----------------------------------------------------------------------+
; K; c$ @: A3 Z& H, W5 v9 g | id                                   | name        | security_group_rules                                                 |
( G) ~$ U; {; m* I6 J+ n  M +--------------------------------------+-------------+----------------------------------------------------------------------+# r3 f& _8 u; m7 c
| 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default     | egress, IPv4                                                         |
2 y. ~' U4 }6 P" ] |                                      |             | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0               |; U" d; {  z5 `0 O% f  Y, H0 H
|                                      |             | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0               |: R, k. l9 F" v6 N. C
|                                      |             | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                      |* Z# R, A) D" V2 x. H7 X% N
|                                      |             | egress, IPv4, remote_ip_prefix: 0.0.0.0/0                            |
: s* c- R. D, W |                                      |             | egress, IPv6                                                         |
8 T8 f" X% U8 M1 N" t1 y |                                      |             | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0              |
, L% `5 T! v  x: { |                                      |             | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0              |  d9 s4 o! L4 z: Y6 d
|                                      |             | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                     |
* t! _$ ?2 ?; `9 W |                                      |             | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
. v( p4 g$ o( ~4 F7 Z: D. w |                                      |             | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0                           |
6 ?) s6 g3 m% o9 d1 v |                                      |             | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
$ c, n) ^3 m: Q7 u | 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal      | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27            |1 x" k5 G6 F& j* F0 q9 \
| e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4                                                         |4 Z4 b6 m& g9 {3 V4 |
|                                      |             | egress, IPv6                                                         |8 k- O1 x/ j/ Z5 b( S
+--------------------------------------+-------------+----------------------------------------------------------------------+
6 g# C7 c0 S. G' r6 K. K% M- y/ i( ]5 e8 [

* W0 Q$ Q) n9 d( |6 Dneutron security-group-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc, k, M1 b+ o1 F" O, m/ r

% g5 J! R( U7 M9 m/ |
" O2 \' I8 }$ P0 y  l7 |/ C) O- \0 w! b( o
neutron security-group-rule-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc
' \- @' E0 }2 q. H9 Y7 P. H; Z' X+--------------------------------------+----------------+-----------+-----------+---------------+--------+
# Y7 r: B8 ~9 ~: G1 t: g6 n7 o5 j| id                                   | security_group | direction | ethertype | protocol/port | remote |4 e# a# j0 g9 l, }# M& {4 l
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
7 G1 T1 F* f7 j3 w0 T1 H# K6 j| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM      | egress    | IPv6      | any           | any    |
( B6 \: y& Z4 b  a: k9 z| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM      | egress    | IPv4      | any           | any    |+ U( i+ g  o, @- k- @: W
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
- a: O% R& }3 Z3 b0 N$ Y7 X- M. l! p% t5 F3 N- m2 z

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2018-12-23 20:27:35 | 显示全部楼层
neutron security-group-list 查看安全组规则  --tenant-id 用户ID 4f6428ba9f8e4741863e6af3f836530e   ID号
5 c9 o9 Z, P6 ~# e+ _: Y$ C/ q) o+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
  \. Z6 m4 O6 D4 y| id                                   | name        | security_group_rules                                                              |
) S1 f% ?$ l/ y0 _3 n' Z; J+ Q  r+--------------------------------------+-------------+-----------------------------------------------------------------------------------+' B" M$ g5 j) R" t& t6 \8 L& l, w
| 0a7198fc-1637-4b0b-b40a-e0e6eb20d108 | redis       | egress, IPv4                                                                      |6 ~7 z( T! z1 a, n" F$ n9 ^& T
|                                      |             | egress, IPv6                                                                      |
7 i# B! c' @2 ?|                                      |             | ingress, IPv4, 6379-7777/tcp, remote_ip_prefix: 192.168.0.0/32                    |
% P. j" v7 d4 w5 {% n) j
3 i1 a7 {7 O* G. R$ t: d| 636b1e72-5234-4b2f-92eb-d3110131d745 | default_nas | egress, IPv4                                                                      |$ o* x8 y. O- ]: z$ E  ~- g6 W
|                                      |             | egress, IPv6                                                                      |
6 b7 C8 B% E- U( X1 L7 z8 Z2 c; u| 854811d7-58be-4daf-b07e-af2a219a7aae | cmppserver  | egress, IPv4                                                                      |, T& }3 X$ ~/ S8 @+ t7 w
|                                      |             | egress, IPv6                                                                      |$ \& y. g5 m0 X- B( R7 ]
|                                      |             | ingress, IPv4, 7890/tcp, remote_ip_prefix: 0.0.0.0/0                              |
8 f* _* j. [8 v9 U5 K' q|                                      |             | ingress, IPv4, 7891-7892/tcp, remote_ip_prefix: 0.0.0.0/0                         |
- ]# y0 Y- X, _  @- [| cec4ee94-91ac-4c6c-be78-8d15fb676d2b | http_recv   | egress, IPv4                                                                      |
# B$ ~, b9 @( b+ r0 T' e. d7 Q|                                      |             | egress, IPv6                                                                      |: ^5 P  d& d7 V- ]( Z
|                                      |             | ingress, IPv4, 15672/tcp, remote_ip_prefix: 0.0.0.0/0                             |+ B, c3 ?3 K" m% h
+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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