|
|
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed 查看租户下,所有的安全组规则
* ~( I# }4 B( `$ _7 X/ h+--------------------------------------+-------------+----------------------------------------------------------------------+ L% a d# B6 U* y$ O$ X% g
| id | name | security_group_rules |) G) W6 I5 f) D; R( E
+--------------------------------------+-------------+----------------------------------------------------------------------+& N3 ?' E8 J y! `' _5 `2 g l
| 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default | egress, IPv4 |
+ A) Q* q* O9 T, \3 n" ~0 U | | | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 |
1 g& R# |+ l* _9 v" M6 S9 u2 a | | | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |
$ k0 K/ z* N% m& j+ u$ _ | | | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 |
A% ^1 l/ X4 p' g" w+ {/ |" w/ d; G | | | egress, IPv4, remote_ip_prefix: 0.0.0.0/0 |* n2 B9 C/ y$ {9 _! p
| | | egress, IPv6 |" h. W( H5 L9 \) L
| | | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 |+ R; \7 C. i8 I5 r
| | | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |. ~. t+ @! B4 [8 D
| | | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 |
1 M! h1 D/ `# E6 B3 b- H/ ~ | | | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
2 }5 a& l' g: N6 E6 g& A" R | | | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0 |* x$ I7 i9 u# F
| | | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
1 Y% T' A5 Q/ |6 ^ | 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27 |, q# `- L5 Q3 ^
| e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4 |# X/ l! g" u6 C, v# ]! K; e
| | | egress, IPv6 |
& [7 F) o, t) O- c% K6 f +--------------------------------------+-------------+----------------------------------------------------------------------+, L' N9 J" d+ Z* q9 N
; M* \3 V2 `0 E" L, e/ z0 x3 U y7 x! ]* ?+ J2 ]- K
neutron security-group-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc
" j% O* N- |6 f9 z: N. J: w s9 ` o C7 k; v: @0 v7 O& E
* s' U8 I" h8 I/ ]$ p( _9 a7 D
3 K- {! A% |! w, C& A; y8 X# p2 f/ ^+ ^4 Oneutron security-group-rule-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc
' t9 W! a8 d- g5 {3 @* ?+--------------------------------------+----------------+-----------+-----------+---------------+--------+
' p$ M- E. j8 l, w: J7 F; _| id | security_group | direction | ethertype | protocol/port | remote |) F5 Z* ]& a, C
+--------------------------------------+----------------+-----------+-----------+---------------+--------+
2 R. r1 U( {; s' r) Z| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM | egress | IPv6 | any | any |% i& a" L3 [& {& C. e! @
| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM | egress | IPv4 | any | any |
1 B- S7 M8 u* \6 N# r1 C+--------------------------------------+----------------+-----------+-----------+---------------+--------+6 r9 K1 T t( G9 Z
3 h. q9 E' v7 y" X/ h- u
|
|