易陆发现互联网技术论坛

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

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

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

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

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

x
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed    查看租户下,所有的安全组规则& o/ Z7 H; x% f, l
+--------------------------------------+-------------+----------------------------------------------------------------------+2 q2 p/ I  x$ |+ Q9 @
| id                                   | name        | security_group_rules                                                 |
8 D& r# v, S  h) `2 I' A6 d +--------------------------------------+-------------+----------------------------------------------------------------------+
3 U9 w2 i' z0 t" J4 E- E" l# X- I) b | 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default     | egress, IPv4                                                         |* ~0 q. D# c4 l2 U: F" I4 t
|                                      |             | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0               |$ H7 ]+ B, q$ h7 a1 e4 E
|                                      |             | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0               |
# N5 U2 A# l6 S0 c+ {) u0 k |                                      |             | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                      |, t; i- U. M4 O
|                                      |             | egress, IPv4, remote_ip_prefix: 0.0.0.0/0                            |
5 U$ B- G7 _- G* g |                                      |             | egress, IPv6                                                         |
0 ?# C" n( L8 {2 t  z2 O |                                      |             | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0              |
) o4 S3 n# |! C' X) b$ t! g# K |                                      |             | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0              |
! ]: p/ J! A# H& e- |6 e+ w |                                      |             | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0                     |/ v2 t# k  |( [! G% R! V: S
|                                      |             | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
; P! f/ h' e4 M8 W2 W |                                      |             | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0                           |
! p( N3 \7 R; z3 K2 P |                                      |             | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |& k. c* ^7 _* m7 K! u9 t9 [; ^
| 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal      | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27            |
, y; X$ ?: Z0 h" k# B; I | e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4                                                         |! W8 W$ Y+ Z$ X& k8 m$ S) N
|                                      |             | egress, IPv6                                                         |
+ y1 H8 c2 @: a0 `' @0 F +--------------------------------------+-------------+----------------------------------------------------------------------+
* y/ J3 x7 h( y. D
1 F# [1 t5 |6 y# t3 R  ?6 O
2 F, ^7 H$ Q* Y$ i. x/ v" t0 Ineutron security-group-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc# p  f4 d4 C2 d  p6 p" J
. ^; a7 E7 s  L
) e3 h$ s' o* n" b6 _: K

! g- Z3 i3 ~+ b: h/ Wneutron security-group-rule-list --security-group-id  0ccbc3c6-7c3b-465e-991a-774f621a0afc
  |+ p  V+ {0 s9 e# _+--------------------------------------+----------------+-----------+-----------+---------------+--------+
& }: D$ r, K5 ~2 y% s0 i5 C| id                                   | security_group | direction | ethertype | protocol/port | remote |
& }8 `0 {: q# h9 W9 t+--------------------------------------+----------------+-----------+-----------+---------------+--------+
. [$ u1 U0 C5 {# s  r6 D3 q( Z. f| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM      | egress    | IPv6      | any           | any    |
& F7 i0 E7 l: Q! h' h) R8 b| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM      | egress    | IPv4      | any           | any    |
" J) l# t! ~9 F6 Z6 N+--------------------------------------+----------------+-----------+-----------+---------------+--------+
: q/ w& r& t* L7 f
- L) N2 _6 Q$ _3 d* B) |
 楼主| 发表于 2018-12-23 20:27:35 | 显示全部楼层
neutron security-group-list 查看安全组规则  --tenant-id 用户ID 4f6428ba9f8e4741863e6af3f836530e   ID号8 |. p! ^  \+ Q! `
+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
- V( h2 h7 K- Z; I1 s' ~) g  t| id                                   | name        | security_group_rules                                                              |
, o1 ^  q  O9 K0 L7 e0 e, }1 Q+--------------------------------------+-------------+-----------------------------------------------------------------------------------+9 j# h0 @3 C! w4 |! J, h1 L) y
| 0a7198fc-1637-4b0b-b40a-e0e6eb20d108 | redis       | egress, IPv4                                                                      |
+ {, g" D: W$ s* k|                                      |             | egress, IPv6                                                                      |! q1 E2 |: J, S! U8 }
|                                      |             | ingress, IPv4, 6379-7777/tcp, remote_ip_prefix: 192.168.0.0/32                    |
# r# E) G: I9 S% k
/ r: E8 u6 d9 s! u& E| 636b1e72-5234-4b2f-92eb-d3110131d745 | default_nas | egress, IPv4                                                                      |
* b. A$ ^& A6 N  c. q* b|                                      |             | egress, IPv6                                                                      |
0 _& ~) V$ Y6 ]% a9 z& ~| 854811d7-58be-4daf-b07e-af2a219a7aae | cmppserver  | egress, IPv4                                                                      |0 E0 R* M: R* y
|                                      |             | egress, IPv6                                                                      |$ u) M9 v, e  y8 r
|                                      |             | ingress, IPv4, 7890/tcp, remote_ip_prefix: 0.0.0.0/0                              |; V7 Z, s$ J% i0 y
|                                      |             | ingress, IPv4, 7891-7892/tcp, remote_ip_prefix: 0.0.0.0/0                         |+ D' u$ J8 P- q0 V
| cec4ee94-91ac-4c6c-be78-8d15fb676d2b | http_recv   | egress, IPv4                                                                      |% g4 l  E  ?: T* b
|                                      |             | egress, IPv6                                                                      |
7 R5 v. T; R2 Z0 t$ z|                                      |             | ingress, IPv4, 15672/tcp, remote_ip_prefix: 0.0.0.0/0                             |% T! K4 _: Q. Y
+--------------------------------------+-------------+-----------------------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-9 01:12 , Processed in 0.051694 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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