- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2019-11-27 17:27:07
|
显示全部楼层
# neutron port-create 9f672bbf-38be-424c-9de6-45600aefc53d , Y# `, f, y3 X# z6 z
Created a new port:
5 M* p- I4 D8 E) V/ _& v1 _9 k+-----------------------+-------------------------------------------------------------------------------------+
. z8 ]( v4 i- C6 a$ i) i| Field | Value |
' N/ E+ O/ Q- ~. x. _+-----------------------+-------------------------------------------------------------------------------------+
& B0 b5 H# S* J5 F# s5 K) ~| admin_state_up | True |
; ]# s& R5 M( i| allowed_address_pairs | |8 w& r# L0 I, E0 R: h7 C; ]
| binding:profile | |
' k! `, R0 }4 p% x0 s, p| device_id | |2 C% f; H* W' k8 F2 B
| device_owner | |
; e R9 x+ O1 C- I* `4 g& w| fixed_ips | {"subnet_id": "09a28691-80f6-4945-be64-4f5c1c5ba40a", "ip_address": "172.20.114.2"} |/ x- I# z6 O R7 B8 J1 y
| id | 1aed0627-4d3a-48a3-9c20-6a387dac3b01 |
% V, ]8 ?; `: R( ~| mac_address | fa:16:3e:57:e2:88 |$ t `0 x8 y0 F0 |
| name | |
: s) w6 t d& ~| network_id | 9f672bbf-38be-424c-9de6-45600aefc53d |+ r& v/ G9 J) J; {7 [2 L
| security_groups | |7 x9 f8 W* [; S% b; \ l/ T7 v4 \
| status | ACTIVE |
4 ` s1 u0 b" a. s8 G3 A| tenant_id | 7f0d7445833b466aab5becbe9908f31b |/ X& d$ P# n/ G ]; \
+-----------------------+-------------------------------------------------------------------------------------+) z4 U! ~, V! s5 L3 {( D
neutron subnet-show 09a28691-80f6-4945-be64-4f5c1c5ba40a
/ f& w& ?; r3 ~( o' M) w+---------------------+----------------------------------------------------+* _( H8 L6 r$ o0 u8 p- X
| Field | Value |8 e5 _/ s1 ]" b
+---------------------+----------------------------------------------------+
1 B2 k1 g, N. ?# V| allocation_pools | {"start": "172.20.114.2", "end": "172.20.115.254"} |
7 Q0 m" L/ }) c4 M" d, g| available_ip_number | 507 |
; T! j0 n9 i! f1 [' L1 P| available_ips | {"start": "172.20.114.3", "end": "172.20.115.253"} |" q0 r, j# p _2 Y4 `3 D
| cidr | 172.20.114.0/23 |$ a- k( E; T; j9 H0 l' ~) `5 ?8 Z
| dns_nameservers | 114.114.114.114 |
, o1 @3 r- m$ L# i+ G1 q! || enable_dhcp | True |
% m7 [6 M @% J0 ?# B5 ?* X) q* w* E| gateway_ip | 172.20.114.1 |6 ^0 n! a# a/ L1 J- _6 l y
| host_routes | |
4 w/ ~/ h/ A$ O5 f$ O, k% P; T| id | 09a28691-80f6-4945-be64-4f5c1c5ba40a |- g( [' D5 D$ F2 e
| ip_version | 4 |
7 t5 X' {: D0 a( W. T% K, e1 H| ipv6_address_mode | |
1 v) n( r3 L& b& v* b1 U( [ {. d| ipv6_ra_mode | |
) M: _6 c7 c# X1 M; \| name | lrtestsub1 |" F5 G$ ], q* Q' g0 Z
| network_id | 9f672bbf-38be-424c-9de6-45600aefc53d |
$ i$ C# ]+ N7 ^6 U+ _' y| path | |3 p8 H. } \/ y4 j2 ~
| subnetpool_id | | y) d) C( d; ^, j4 J) m9 Z
| tenant_id | 7f0d7445833b466aab5becbe9908f31b |& X( L4 [- \' H0 u
+---------------------+----------------------------------------------------+" v1 o5 O+ _9 A2 p# s. I8 I# F! p
+ H5 Y! N2 Q* D3 u
Q) G% u) ~$ @7 n7 h
/ @2 L. N2 v6 F0 U |
|