--- a/usr/src/apis/zoneadmin.xml Tue Mar 15 10:02:32 2011 -0400
+++ b/usr/src/apis/zoneadmin.xml Tue Mar 15 15:29:02 2011 -0400
@@ -40,6 +40,18 @@
if the given zone is invalid
</doc>
</value>
+ <value name="INVALID_ZONE_PLATFORM">
+ <doc>
+ if the given zone's platform is inappropriate for the requested
+ platform-specific operation
+ </doc>
+ </value>
+ <value name="INVALID_ZONE_STATE">
+ <doc>
+ if the given zone's state is inappropriate for the requested
+ operation
+ </doc>
+ </value>
<value name="COMMAND_FAILED">
<doc>
if a command to effect changes to or retrieve configuration from
@@ -93,6 +105,21 @@
</argument>
</method>
+ <method name="boot">
+ <summary>
+ boot the given zone
+ </summary>
+ <doc>
+ Boot the given zone.
+ </doc>
+ <error typeref="ZoneAdminError"/>
+ <argument name="zone" type="string">
+ <summary>
+ the name of the non-global zone
+ </summary>
+ </argument>
+ </method>
+
<method name="close">
<summary>
close a rad connection
@@ -134,7 +161,7 @@
<doc>
Halt the given zone, gracefully or ungracefully.
</doc>
- <error/>
+ <error typeref="ZoneAdminError"/>
<argument name="zone" type="string">
<summary>
the name of the non-global zone
@@ -160,7 +187,7 @@
a token used to read from and write to the new connection
</summary>
</result>
- <error />
+ <error typeref="ZoneAdminError"/>
<argument name="zone" type="string">
<summary>
the non-global zone to connect to
@@ -181,7 +208,7 @@
a token used to read from and write to the new connection
</summary>
</result>
- <error />
+ <error typeref="ZoneAdminError"/>
<argument name="zone" type="string">
<summary>
the non-global zone to connect to
@@ -226,6 +253,21 @@
</argument>
</method>
+ <method name="reboot">
+ <summary>
+ reboot the given zone
+ </summary>
+ <doc>
+ Reboot the given zone.
+ </doc>
+ <error typeref="ZoneAdminError"/>
+ <argument name="zone" type="string">
+ <summary>
+ the name of the non-global zone
+ </summary>
+ </argument>
+ </method>
+
<method name="write">
<summary>
write data