VNF 操作
VNF を起動、停止、および再起動できます。起動、停止、および再起動の操作は、RESTful インターフェイスを使用して実行されます。
POST ESCManager/v0/{internal_tenant_id}/deployments/service/{internal_deployment_id}
例、
<?xml version='1.0' encoding='UTF-8'?>
<service_operation xmlns='urn:ietf:params:xml:ns:netconf:base:1.0'>
<operation>stop</operation>
</service_operation>
操作フィールドで起動、停止、または再起動を指定する必要があります。
-
VNF の起動:すべての VM が起動し、モニタリングが有効になり、KPI の詳細に従ってしきい値が再割り当てされます。VM の実行が開始され、VM_ALIVE_STATE に移動します。サービスは service_active_state になります。VNF の起動ワークフローを中断できるのは展開解除のみです。
-
VNF の停止:サービスが停止すると、モニタリングが無効になり、すべての VM サービスが停止します。VM は使用できなくなります。サービスは service_stopped_state になります。VM は shutoff_state になります。リカバリ、スケールアウト、スケールインを実行することはできません。VNF の展開解除のみ可能です。
-
VNF の再起動:モニタリングが無効になり、すべての VM が再起動します。つまり、VM が停止してから OpenStack で起動し、モニタリングが有効になり、KPI の詳細に従ってしきい値が再割り当てされます。VM は VM_ALIVE_STATE となり、サービスは service_alive_state です。再起動操作を中断できるのは展開解除のみです。
すでに実行中の VNF のモニタリングを開始することはできません。再起動後、VM に再度ログインすると、再起動、更新、およびモニタリングの詳細が示されます。また、リカバリも示す必要があります。
VM の操作
VNF 操作と同様に、個々の VM を起動、停止、および再起動できます。
POST ESCManager/v0/{internal_tenant_id}/deployments/vm/{vm_name}
例、
<?xml version='1.0' encoding='UTF-8'?>
<vm_operation xmlns='urn:ietf:params:xml:ns:netconf:base:1.0'>
<operation>stop</operation>
<force>true/false</force>
</vm_operation>
操作フィールドで起動、停止、または再起動を指定する必要があります。