|
|
neutron security-group-list --tenant-id c54bba4b8dd84d67921eef3ecfa34fed 查看租户下,所有的安全组规则
; r' B4 h5 }% U, a" c# A+--------------------------------------+-------------+----------------------------------------------------------------------+
1 \ Q6 b9 z7 D; {) t8 b5 L$ \ | id | name | security_group_rules |
! W: `/ r! N3 R5 {1 h4 t +--------------------------------------+-------------+----------------------------------------------------------------------+$ F; a9 ~# F3 ?! K/ P% C
| 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 | default | egress, IPv4 |: V- P* c7 T0 J
| | | egress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 | {, P3 O9 U8 ]" f- \) f0 I5 |% w
| | | egress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |
# A% B. l2 O& z5 L5 [5 a! C | | | egress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 |) |: f# p, m% N0 ?; [
| | | egress, IPv4, remote_ip_prefix: 0.0.0.0/0 |* m6 Q+ S* h8 B9 r9 `& f0 H8 v6 A+ ~# e
| | | egress, IPv6 |2 g0 n4 j# s. Y* O, \+ m( }0 Y3 V
| | | ingress, IPv4, 1-65535/tcp, remote_ip_prefix: 0.0.0.0/0 |
& X4 m- P; N$ W3 V0 Q+ T | | | ingress, IPv4, 1-65535/udp, remote_ip_prefix: 0.0.0.0/0 |4 b; O4 B, G* L* t% B
| | | ingress, IPv4, icmp, remote_ip_prefix: 0.0.0.0/0 |% l) W5 E- Y5 n- P8 G. b" _
| | | ingress, IPv4, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |) r, [$ [3 I& e1 F b
| | | ingress, IPv4, remote_ip_prefix: 0.0.0.0/0 |+ ~/ j5 [: k2 R& N* G
| | | ingress, IPv6, remote_group_id: 6127bbdd-0288-4ec6-bf2f-ae1c8d0aef10 |
! q2 `2 ?6 r+ W& y+ [ | 8826bef3-24bc-44ff-b3e1-8f4a60e41017 | portal | egress, IPv4, 8443/tcp, remote_ip_prefix: 12.17.28.0/27 |; b+ M1 W+ |2 P
| e28bfdc9-c47b-4944-a21d-8dd7574e66be | nas_default | egress, IPv4 |; m i. I* Y# S+ U( ^( c
| | | egress, IPv6 |
! Q9 s2 [/ S' M# n, z2 g+ L +--------------------------------------+-------------+----------------------------------------------------------------------+
+ P Z+ c9 {' `; a7 u7 F/ C p
! s' A W$ E+ z: a7 y( K/ jneutron security-group-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc
2 p; F0 Q9 v% d' U& p$ ]( i6 A9 o5 y5 w& Y
& m% }2 d. V, j4 ~$ c8 \& ~$ ~
5 q1 H/ ^( {0 f u% ~# K6 o8 ?
neutron security-group-rule-list --security-group-id 0ccbc3c6-7c3b-465e-991a-774f621a0afc
d2 N& S8 f; R+--------------------------------------+----------------+-----------+-----------+---------------+--------+
. B, X8 O1 O9 {/ u7 T3 P% D) ?( k| id | security_group | direction | ethertype | protocol/port | remote |
+ Y7 h8 k& i( f2 T( k' z+--------------------------------------+----------------+-----------+-----------+---------------+--------+
# c- ?+ N- i) r+ f| 34926cc2-0bf1-43b6-aa65-f1dc4400b399 | sec001_BM | egress | IPv6 | any | any |
5 d1 M& [/ u8 m+ S| fd4af59a-4645-4c36-ba73-1a782700b1d0 | sec001_BM | egress | IPv4 | any | any |9 c- H, ~- N! x
+--------------------------------------+----------------+-----------+-----------+---------------+--------+ l% |2 M, z3 Z& e
4 X# F) ~, n) x% F1 ?
|
|