|
|
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
|
|