|
|
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed 查看租户下,所有的安全组规则
& C9 h$ f' N$ |9 }) M. X, x7 E7 b+--------------------------------------+-------------+----------------------------------------------------------------------+
# }- y% t4 n0 I: p | id | name | security_group_rules |
6 a; N" h& r2 r2 K4 H( L' @' L( p- k +--------------------------------------+-------------+----------------------------------------------------------------------+
, u' K) S& X/ y; b8 C | 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default | egress, IPv4 |* J3 O8 g2 R& G0 X( X
| | | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 |% o! M5 B3 c) P& q0 w8 w/ W _4 G
| | | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |
' V2 ]* \; C3 A) f& ^: D | | | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 |8 _9 s2 f+ ` f- M/ u4 ?' z# m2 r
| | | egress, IPv4, remote_ip_prefix: 0.0.0.0/0 |( e! H- s- r4 h# l: {2 h& v/ F
| | | egress, IPv6 |
# S+ x# N. B3 E | | | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 |- b+ i+ U# ]3 Q0 [* O
| | | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |
s5 j# R2 W. l! E | | | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 | n/ `( _& G" l" }7 W. H
| | | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |6 C2 ~8 M: h' ]! o
| | | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0 |
- Y: S9 {0 O. D | | | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
' U9 U9 t/ \. u" G5 I2 m% y R | 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27 |
: W: j* w6 Y$ C2 ^ | e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4 |
% l8 h2 d: ?! G8 J9 P; ` | | | egress, IPv6 |
- |) C1 V* v" W: Y1 W +--------------------------------------+-------------+----------------------------------------------------------------------+
3 S% |$ l5 ~' B3 R/ x' t) l$ o! k. @/ A1 o5 W6 R0 U/ @8 q
: H& z4 v5 i+ X9 k+ T) z P
neutron security-group-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc
2 J' Q# }$ ?7 C W+ W3 L+ A3 T; q6 m) }: X1 x! W' v
% `* u% i- B, v4 S1 n
3 {8 {/ B* d% ^% Vneutron security-group-rule-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc) |& I0 U. e2 R! f
+--------------------------------------+----------------+-----------+-----------+---------------+--------+0 @) ~) q' ~- g: B2 U; K) T1 o: K
| id | security_group | direction | ethertype | protocol/port | remote |/ Z# _ {. f1 B7 N# N* a
+--------------------------------------+----------------+-----------+-----------+---------------+--------+% K# V0 w2 k# X( F7 _- G( E6 j
| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM | egress | IPv6 | any | any |
' M& A7 Q* P3 c3 F$ w| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM | egress | IPv4 | any | any |. `, `: C6 R( o4 t# J5 J) s
+--------------------------------------+----------------+-----------+-----------+---------------+--------+1 k/ J n3 s; L/ G
6 {+ }1 j9 P2 z0 k& F
|
|