Cisco Cisco Elastic Services Controller 2.3 開発者ガイド

ページ / 85
    <status_message>VM [depzz_g1_0_50521f93-7374-4881-960b-95aa13d55ddf] is 
rebooted.</status_message> 
    <depname>depzz</depname> 
    <tenant>ttt</tenant> 
    <tenant_id>721d0a0aaf5a40299650d4ec74f48f1a</tenant_id> 
    <svcid>NULL</svcid> 
    <depid>d4778a3a-deba-4df7-9614-03f31f1beab3</depid> 
    <vm_group>g1</vm_group> 
    <vm_source> 
      <vmid>1dd943b9-93a4-4987-b26b-1b8fd264774d</vmid> 
      <hostid>4f926bb44423804ea8d87cac946b80e637c315f4f606bfa788b19b8c</hostid> 
      <hostname>my-ucs-7</hostname> 
    </vm_source> 
    <vm_target/> 
    <event> 
      <type>VM_RECOVERY_REBOOT</type> 
    </event> 
  </escEvent> 
</notification> 
 
If vm reboot failed: 
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0"> 
  <eventTime>2016-06-23T18:30:09.115+00:00</eventTime> 
  <escEvent xmlns="http://www.cisco.com/esc/esc"> 
    <status>FAILURE</status> 
    <status_code>500</status_code> 
    <status_message>Error Messages: VM [depzz_g1_0_50521f93-7374-4881-960b-
95aa13d55ddf] failed to be rebooted.; VIM Driver: VM powered on but in unexpected 
state:null; VM [depzz_g1_0_50521f93-7374-4881-960b-95aa13d55ddf] is rebooted.; VIM 
Driver: VM successfully rebooted.; VIM Driver: VM successfully created, VM Name: 
[depzz_g1_0_50521f93-7374-4881-960b-95aa13d55ddf]</status_message> 
    <depname>depzz</depname> 
    <tenant>ttt</tenant> 
    <tenant_id>721d0a0aaf5a40299650d4ec74f48f1a</tenant_id> 
    <svcid>NULL</svcid> 
    <depid>d4778a3a-deba-4df7-9614-03f31f1beab3</depid> 
    <vm_group>g1</vm_group> 
    <vm_source> 
      <vmid>1dd943b9-93a4-4987-b26b-1b8fd264774d</vmid> 
      <hostid>4f926bb44423804ea8d87cac946b80e637c315f4f606bfa788b19b8c</hostid> 
      <hostname>my-ucs-7</hostname> 
    </vm_source> 
    <vm_target/> 
    <event> 
      <type>VM_RECOVERY_REBOOT</type> 
    </event> 
  </escEvent> 
</notification> 
After that, recovery procedure will redeploy vm
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0"> 
  <eventTime>2016-06-23T18:30:12.249+00:00</eventTime> 
  <escEvent xmlns="http://www.cisco.com/esc/esc"> 
    <status>SUCCESS</status> 
    <status_code>204</status_code> 
    <status_message>VM [depzz_g1_0_50521f93-7374-4881-960b-95aa13d55ddf] has been 
undeployed.</status_message> 
    <depname>depzz</depname> 
    <tenant>ttt</tenant> 
    <tenant_id>721d0a0aaf5a40299650d4ec74f48f1a</tenant_id> 
    <svcid>NULL</svcid> 
    <depid>d4778a3a-deba-4df7-9614-03f31f1beab3</depid> 
    <vm_group>g1</vm_group> 
    <vm_source> 
      <vmid>1dd943b9-93a4-4987-b26b-1b8fd264774d</vmid> 
      <hostid>4f926bb44423804ea8d87cac946b80e637c315f4f606bfa788b19b8c</hostid> 
      <hostname>my-ucs-7</hostname> 
    </vm_source>