File tree Expand file tree Collapse file tree 5 files changed +277
-215
lines changed
Expand file tree Collapse file tree 5 files changed +277
-215
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,16 @@ guest_info:
166166 type : dict
167167guest_os_info :
168168 description : |
169- OS info and kernel info of guest
169+ OS info and kernel info of guest.
170170 in : body
171- required : true
171+ required : true
172172 type : dict
173173guest_online_cpu_num :
174174 description : |
175- Online cpu number of the guest
175+ Online CPU number of the guest.
176176 in : body
177- required : true
178- type : int
177+ required : true
178+ type : int
179179guest_account :
180180 description : |
181181 Account of guest, useful for guest billing.
@@ -1085,6 +1085,8 @@ guest_networks_list:
10851085 Network information list of guest. It has one dictionary that contain some of the below
10861086 keys for each interface. All the keys are optional\:
10871087
1088+ - ``method``: interface initialization method. The valid values are ``static`` and
1089+ ``dhcp``. Default is ``static``.
10881090 - ``ip_addr``: the IP address of the interface, ``cidr`` is required if IP address
10891091 is set
10901092 - ``dns_addr``: DNS servers address list
@@ -1108,7 +1110,7 @@ guest_networks:
11081110 is set
11091111 - ``dns_addr``: DNS servers address list
11101112 - ``gateway_addr``: gateway address
1111- - ``cidr``: cidr format
1113+ - ``cidr``: CIDR format
11121114 - ``nic_vdev``: NIC device number, 1 to 4 hexadecimal digits
11131115 - ``mac_addr``: MAC address
11141116 - ``nic_id``: NIC identifier
Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ Get running information of guest.
683683 :language: javascript
684684
685685
686- Get guest os info
686+ Get guest OS info
687687-----------------
688688
689689**GET /guests/{userid}/os_info **
@@ -716,8 +716,8 @@ Get operating system and kernel information of a virtual machine.
716716 :language: javascript
717717
718718
719- Get guest online cpu num
720- ---------------------------
719+ Get guest online CPU num
720+ ------------------------
721721
722722**GET /guests/{userid}/online_cpu_num **
723723
@@ -815,7 +815,9 @@ Create guest NIC
815815
816816**POST /guests/{userid}/nic **
817817
818- Create a virtual NIC on giving guest.
818+ Create a virtual NIC on given guest.
819+ The NIC is created in the z/VM system directory, but it is not configured
820+ at the guest OS level.
819821
820822* Request:
821823
@@ -844,7 +846,9 @@ Create network interface
844846
845847**POST /guests/{userid}/interface **
846848
847- Create one or more network interfaces on giving guest.
849+ Create one or more network interfaces on given guest.
850+ The interfaces are created in the z/VM system directory, and configured after
851+ the guest is started.
848852
849853* Request:
850854
You can’t perform that action at this time.
0 commit comments