2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
26 * NOTE: This file is auto-generated and should not be changed manually.
28 package org.onap.appc.client.lcm.api;
30 import org.onap.appc.client.lcm.model.ActionStatusOutput;
31 import org.onap.appc.client.lcm.model.ActionStatusInput;
32 import org.onap.appc.client.lcm.model.AttachVolumeOutput;
33 import org.onap.appc.client.lcm.model.AttachVolumeInput;
34 import org.onap.appc.client.lcm.model.AuditOutput;
35 import org.onap.appc.client.lcm.model.AuditInput;
36 import org.onap.appc.client.lcm.model.CheckLockOutput;
37 import org.onap.appc.client.lcm.model.CheckLockInput;
38 import org.onap.appc.client.lcm.model.ConfigBackupOutput;
39 import org.onap.appc.client.lcm.model.ConfigBackupInput;
40 import org.onap.appc.client.lcm.model.ConfigBackupDeleteOutput;
41 import org.onap.appc.client.lcm.model.ConfigBackupDeleteInput;
42 import org.onap.appc.client.lcm.model.ConfigExportOutput;
43 import org.onap.appc.client.lcm.model.ConfigExportInput;
44 import org.onap.appc.client.lcm.model.ConfigModifyOutput;
45 import org.onap.appc.client.lcm.model.ConfigModifyInput;
46 import org.onap.appc.client.lcm.model.ConfigRestoreOutput;
47 import org.onap.appc.client.lcm.model.ConfigRestoreInput;
48 import org.onap.appc.client.lcm.model.ConfigScaleoutOutput;
49 import org.onap.appc.client.lcm.model.ConfigScaleoutInput;
50 import org.onap.appc.client.lcm.model.ConfigureOutput;
51 import org.onap.appc.client.lcm.model.ConfigureInput;
52 import org.onap.appc.client.lcm.model.DetachVolumeOutput;
53 import org.onap.appc.client.lcm.model.DetachVolumeInput;
54 import org.onap.appc.client.lcm.model.EvacuateOutput;
55 import org.onap.appc.client.lcm.model.EvacuateInput;
56 import org.onap.appc.client.lcm.model.HealthCheckOutput;
57 import org.onap.appc.client.lcm.model.HealthCheckInput;
58 import org.onap.appc.client.lcm.model.LiveUpgradeOutput;
59 import org.onap.appc.client.lcm.model.LiveUpgradeInput;
60 import org.onap.appc.client.lcm.model.LockOutput;
61 import org.onap.appc.client.lcm.model.LockInput;
62 import org.onap.appc.client.lcm.model.MigrateOutput;
63 import org.onap.appc.client.lcm.model.MigrateInput;
64 import org.onap.appc.client.lcm.model.QueryOutput;
65 import org.onap.appc.client.lcm.model.QueryInput;
66 import org.onap.appc.client.lcm.model.QuiesceTrafficOutput;
67 import org.onap.appc.client.lcm.model.QuiesceTrafficInput;
68 import org.onap.appc.client.lcm.model.RebootOutput;
69 import org.onap.appc.client.lcm.model.RebootInput;
70 import org.onap.appc.client.lcm.model.RebuildOutput;
71 import org.onap.appc.client.lcm.model.RebuildInput;
72 import org.onap.appc.client.lcm.model.RestartOutput;
73 import org.onap.appc.client.lcm.model.RestartInput;
74 import org.onap.appc.client.lcm.model.ResumeTrafficOutput;
75 import org.onap.appc.client.lcm.model.ResumeTrafficInput;
76 import org.onap.appc.client.lcm.model.RollbackOutput;
77 import org.onap.appc.client.lcm.model.RollbackInput;
78 import org.onap.appc.client.lcm.model.SnapshotOutput;
79 import org.onap.appc.client.lcm.model.SnapshotInput;
80 import org.onap.appc.client.lcm.model.SoftwareUploadOutput;
81 import org.onap.appc.client.lcm.model.SoftwareUploadInput;
82 import org.onap.appc.client.lcm.model.StartOutput;
83 import org.onap.appc.client.lcm.model.StartInput;
84 import org.onap.appc.client.lcm.model.StartApplicationOutput;
85 import org.onap.appc.client.lcm.model.StartApplicationInput;
86 import org.onap.appc.client.lcm.model.StopOutput;
87 import org.onap.appc.client.lcm.model.StopInput;
88 import org.onap.appc.client.lcm.model.StopApplicationOutput;
89 import org.onap.appc.client.lcm.model.StopApplicationInput;
90 import org.onap.appc.client.lcm.model.SyncOutput;
91 import org.onap.appc.client.lcm.model.SyncInput;
92 import org.onap.appc.client.lcm.model.TerminateOutput;
93 import org.onap.appc.client.lcm.model.TerminateInput;
94 import org.onap.appc.client.lcm.model.TestOutput;
95 import org.onap.appc.client.lcm.model.TestInput;
96 import org.onap.appc.client.lcm.model.UnlockOutput;
97 import org.onap.appc.client.lcm.model.UnlockInput;
98 import org.onap.appc.client.lcm.model.UpgradeBackoutOutput;
99 import org.onap.appc.client.lcm.model.UpgradeBackoutInput;
100 import org.onap.appc.client.lcm.model.UpgradeBackupOutput;
101 import org.onap.appc.client.lcm.model.UpgradeBackupInput;
102 import org.onap.appc.client.lcm.model.UpgradePostCheckOutput;
103 import org.onap.appc.client.lcm.model.UpgradePostCheckInput;
104 import org.onap.appc.client.lcm.model.UpgradePreCheckOutput;
105 import org.onap.appc.client.lcm.model.UpgradePreCheckInput;
106 import org.onap.appc.client.lcm.model.UpgradeSoftwareOutput;
107 import org.onap.appc.client.lcm.model.UpgradeSoftwareInput;
108 import org.onap.appc.client.lcm.exceptions.AppcClientException;
109 import org.onap.appc.RPC;
112 * Defines the services and request/response requirements for the ECOMP APP-C component.
114 @javax.annotation.Generated(
115 value = {"client-kit/open-api-to-java.ftl"},
116 date = "2017-11-27T12:27:49.205-06:00",
117 comments = "Auto-generated from Open API specification")
118 public interface LifeCycleManagerStateful {
121 * An operation to get the current state of the previously submitted LCM request
123 * @param actionStatusInput - RPC input object
125 @RPC(name="action-status", outputType=ActionStatusOutput.class)
126 ActionStatusOutput actionStatus(ActionStatusInput actionStatusInput) throws AppcClientException;
129 * An operation to get the current state of the previously submitted LCM request
131 * @param actionStatusInput - RPC input object
132 * @return listener - callback implementation
134 @RPC(name="action-status", outputType=ActionStatusOutput.class)
135 void actionStatus(ActionStatusInput actionStatusInput, ResponseHandler<ActionStatusOutput> listener) throws AppcClientException;
138 * An operation to attach a cinder volume to a VM
140 * @param attachVolumeInput - RPC input object
142 @RPC(name="attach-volume", outputType=AttachVolumeOutput.class)
143 AttachVolumeOutput attachVolume(AttachVolumeInput attachVolumeInput) throws AppcClientException;
146 * An operation to attach a cinder volume to a VM
148 * @param attachVolumeInput - RPC input object
149 * @return listener - callback implementation
151 @RPC(name="attach-volume", outputType=AttachVolumeOutput.class)
152 void attachVolume(AttachVolumeInput attachVolumeInput, ResponseHandler<AttachVolumeOutput> listener) throws AppcClientException;
155 * An operation to audit the configurations of a virtual network function (or VM)
157 * @param auditInput - RPC input object
159 @RPC(name="audit", outputType=AuditOutput.class)
160 AuditOutput audit(AuditInput auditInput) throws AppcClientException;
163 * An operation to audit the configurations of a virtual network function (or VM)
165 * @param auditInput - RPC input object
166 * @return listener - callback implementation
168 @RPC(name="audit", outputType=AuditOutput.class)
169 void audit(AuditInput auditInput, ResponseHandler<AuditOutput> listener) throws AppcClientException;
172 * An operation to check VNF lock status
174 * @param checkLockInput - RPC input object
176 @RPC(name="check-lock", outputType=CheckLockOutput.class)
177 CheckLockOutput checkLock(CheckLockInput checkLockInput) throws AppcClientException;
180 * An operation to check VNF lock status
182 * @param checkLockInput - RPC input object
183 * @return listener - callback implementation
185 @RPC(name="check-lock", outputType=CheckLockOutput.class)
186 void checkLock(CheckLockInput checkLockInput, ResponseHandler<CheckLockOutput> listener) throws AppcClientException;
189 * An operation to Backup configurations of a virtual network function (or VM)
191 * @param configBackupInput - RPC input object
193 @RPC(name="config-backup", outputType=ConfigBackupOutput.class)
194 ConfigBackupOutput configBackup(ConfigBackupInput configBackupInput) throws AppcClientException;
197 * An operation to Backup configurations of a virtual network function (or VM)
199 * @param configBackupInput - RPC input object
200 * @return listener - callback implementation
202 @RPC(name="config-backup", outputType=ConfigBackupOutput.class)
203 void configBackup(ConfigBackupInput configBackupInput, ResponseHandler<ConfigBackupOutput> listener) throws AppcClientException;
206 * An operation to Delete backup configurations of a virtual network function (or VM)
208 * @param configBackupDeleteInput - RPC input object
210 @RPC(name="config-backup-delete", outputType=ConfigBackupDeleteOutput.class)
211 ConfigBackupDeleteOutput configBackupDelete(ConfigBackupDeleteInput configBackupDeleteInput) throws AppcClientException;
214 * An operation to Delete backup configurations of a virtual network function (or VM)
216 * @param configBackupDeleteInput - RPC input object
217 * @return listener - callback implementation
219 @RPC(name="config-backup-delete", outputType=ConfigBackupDeleteOutput.class)
220 void configBackupDelete(ConfigBackupDeleteInput configBackupDeleteInput, ResponseHandler<ConfigBackupDeleteOutput> listener) throws AppcClientException;
223 * An operation to Export configurations of a virtual network function (or VM)
225 * @param configExportInput - RPC input object
227 @RPC(name="config-export", outputType=ConfigExportOutput.class)
228 ConfigExportOutput configExport(ConfigExportInput configExportInput) throws AppcClientException;
231 * An operation to Export configurations of a virtual network function (or VM)
233 * @param configExportInput - RPC input object
234 * @return listener - callback implementation
236 @RPC(name="config-export", outputType=ConfigExportOutput.class)
237 void configExport(ConfigExportInput configExportInput, ResponseHandler<ConfigExportOutput> listener) throws AppcClientException;
240 * Use the ModifyConfig command when a full configuration cycle is either not required or is considered too costly. The ModifyConfig LCM action affects only a subset of the total configuration data of a VNF. The set of configuration parameters to be affected is a subset of the total configuration data of the target VNF type. The payload Stop Application must contain the configuration parameters to be modified and their values. A successful modify returns a success response. A failed modify returns a failure response and the specific failure messages in the response payload Stop Application
242 * @param configModifyInput - RPC input object
244 @RPC(name="config-modify", outputType=ConfigModifyOutput.class)
245 ConfigModifyOutput configModify(ConfigModifyInput configModifyInput) throws AppcClientException;
248 * Use the ModifyConfig command when a full configuration cycle is either not required or is considered too costly. The ModifyConfig LCM action affects only a subset of the total configuration data of a VNF. The set of configuration parameters to be affected is a subset of the total configuration data of the target VNF type. The payload Stop Application must contain the configuration parameters to be modified and their values. A successful modify returns a success response. A failed modify returns a failure response and the specific failure messages in the response payload Stop Application
250 * @param configModifyInput - RPC input object
251 * @return listener - callback implementation
253 @RPC(name="config-modify", outputType=ConfigModifyOutput.class)
254 void configModify(ConfigModifyInput configModifyInput, ResponseHandler<ConfigModifyOutput> listener) throws AppcClientException;
257 * An operation to restore the configurations of a virtual network function (or VM)
259 * @param configRestoreInput - RPC input object
261 @RPC(name="config-restore", outputType=ConfigRestoreOutput.class)
262 ConfigRestoreOutput configRestore(ConfigRestoreInput configRestoreInput) throws AppcClientException;
265 * An operation to restore the configurations of a virtual network function (or VM)
267 * @param configRestoreInput - RPC input object
268 * @return listener - callback implementation
270 @RPC(name="config-restore", outputType=ConfigRestoreOutput.class)
271 void configRestore(ConfigRestoreInput configRestoreInput, ResponseHandler<ConfigRestoreOutput> listener) throws AppcClientException;
274 * An operation to scaleout the configurations of a virtual network function (or VM)
276 * @param configScaleoutInput - RPC input object
278 @RPC(name="config-scaleout", outputType=ConfigScaleoutOutput.class)
279 ConfigScaleoutOutput configScaleout(ConfigScaleoutInput configScaleoutInput) throws AppcClientException;
282 * An operation to scaleout the configurations of a virtual network function (or VM)
284 * @param configScaleoutInput - RPC input object
285 * @return listener - callback implementation
287 @RPC(name="config-scaleout", outputType=ConfigScaleoutOutput.class)
288 void configScaleout(ConfigScaleoutInput configScaleoutInput, ResponseHandler<ConfigScaleoutOutput> listener) throws AppcClientException;
291 * An operation to configure the configurations of a virtual network function (or VM)
293 * @param configureInput - RPC input object
295 @RPC(name="configure", outputType=ConfigureOutput.class)
296 ConfigureOutput configure(ConfigureInput configureInput) throws AppcClientException;
299 * An operation to configure the configurations of a virtual network function (or VM)
301 * @param configureInput - RPC input object
302 * @return listener - callback implementation
304 @RPC(name="configure", outputType=ConfigureOutput.class)
305 void configure(ConfigureInput configureInput, ResponseHandler<ConfigureOutput> listener) throws AppcClientException;
308 * An operation to detach a cinder volume from a VM
310 * @param detachVolumeInput - RPC input object
312 @RPC(name="detach-volume", outputType=DetachVolumeOutput.class)
313 DetachVolumeOutput detachVolume(DetachVolumeInput detachVolumeInput) throws AppcClientException;
316 * An operation to detach a cinder volume from a VM
318 * @param detachVolumeInput - RPC input object
319 * @return listener - callback implementation
321 @RPC(name="detach-volume", outputType=DetachVolumeOutput.class)
322 void detachVolume(DetachVolumeInput detachVolumeInput, ResponseHandler<DetachVolumeOutput> listener) throws AppcClientException;
325 * An operation to evacuate a virtual network function (or VM)
327 * @param evacuateInput - RPC input object
329 @RPC(name="evacuate", outputType=EvacuateOutput.class)
330 EvacuateOutput evacuate(EvacuateInput evacuateInput) throws AppcClientException;
333 * An operation to evacuate a virtual network function (or VM)
335 * @param evacuateInput - RPC input object
336 * @return listener - callback implementation
338 @RPC(name="evacuate", outputType=EvacuateOutput.class)
339 void evacuate(EvacuateInput evacuateInput, ResponseHandler<EvacuateOutput> listener) throws AppcClientException;
342 * An operation to perform health check of vSCP prior its upgrading
344 * @param healthCheckInput - RPC input object
346 @RPC(name="health-check", outputType=HealthCheckOutput.class)
347 HealthCheckOutput healthCheck(HealthCheckInput healthCheckInput) throws AppcClientException;
350 * An operation to perform health check of vSCP prior its upgrading
352 * @param healthCheckInput - RPC input object
353 * @return listener - callback implementation
355 @RPC(name="health-check", outputType=HealthCheckOutput.class)
356 void healthCheck(HealthCheckInput healthCheckInput, ResponseHandler<HealthCheckOutput> listener) throws AppcClientException;
359 * An operation to perform upgrade of vSCP
361 * @param liveUpgradeInput - RPC input object
363 @RPC(name="live-upgrade", outputType=LiveUpgradeOutput.class)
364 LiveUpgradeOutput liveUpgrade(LiveUpgradeInput liveUpgradeInput) throws AppcClientException;
367 * An operation to perform upgrade of vSCP
369 * @param liveUpgradeInput - RPC input object
370 * @return listener - callback implementation
372 @RPC(name="live-upgrade", outputType=LiveUpgradeOutput.class)
373 void liveUpgrade(LiveUpgradeInput liveUpgradeInput, ResponseHandler<LiveUpgradeOutput> listener) throws AppcClientException;
376 * An operation to perform VNF lock operation
378 * @param lockInput - RPC input object
380 @RPC(name="lock", outputType=LockOutput.class)
381 LockOutput lock(LockInput lockInput) throws AppcClientException;
384 * An operation to perform VNF lock operation
386 * @param lockInput - RPC input object
387 * @return listener - callback implementation
389 @RPC(name="lock", outputType=LockOutput.class)
390 void lock(LockInput lockInput, ResponseHandler<LockOutput> listener) throws AppcClientException;
393 * An operation to migrate a virtual network function (or VM)
395 * @param migrateInput - RPC input object
397 @RPC(name="migrate", outputType=MigrateOutput.class)
398 MigrateOutput migrate(MigrateInput migrateInput) throws AppcClientException;
401 * An operation to migrate a virtual network function (or VM)
403 * @param migrateInput - RPC input object
404 * @return listener - callback implementation
406 @RPC(name="migrate", outputType=MigrateOutput.class)
407 void migrate(MigrateInput migrateInput, ResponseHandler<MigrateOutput> listener) throws AppcClientException;
410 * An operation to query the status of a targe VNF. Returns information on each VM, including state (active or standby) and status (healthy or unhealthy)
412 * @param queryInput - RPC input object
414 @RPC(name="query", outputType=QueryOutput.class)
415 QueryOutput query(QueryInput queryInput) throws AppcClientException;
418 * An operation to query the status of a targe VNF. Returns information on each VM, including state (active or standby) and status (healthy or unhealthy)
420 * @param queryInput - RPC input object
421 * @return listener - callback implementation
423 @RPC(name="query", outputType=QueryOutput.class)
424 void query(QueryInput queryInput, ResponseHandler<QueryOutput> listener) throws AppcClientException;
427 * An operation to stop traffic gracefully on the VF. It stops traffic gracefully without stopping the application
429 * @param quiesceTrafficInput - RPC input object
431 @RPC(name="quiesce-traffic", outputType=QuiesceTrafficOutput.class)
432 QuiesceTrafficOutput quiesceTraffic(QuiesceTrafficInput quiesceTrafficInput) throws AppcClientException;
435 * An operation to stop traffic gracefully on the VF. It stops traffic gracefully without stopping the application
437 * @param quiesceTrafficInput - RPC input object
438 * @return listener - callback implementation
440 @RPC(name="quiesce-traffic", outputType=QuiesceTrafficOutput.class)
441 void quiesceTraffic(QuiesceTrafficInput quiesceTrafficInput, ResponseHandler<QuiesceTrafficOutput> listener) throws AppcClientException;
444 * An operation to reboot a specified virtual machine (VM)
446 * @param rebootInput - RPC input object
448 @RPC(name="reboot", outputType=RebootOutput.class)
449 RebootOutput reboot(RebootInput rebootInput) throws AppcClientException;
452 * An operation to reboot a specified virtual machine (VM)
454 * @param rebootInput - RPC input object
455 * @return listener - callback implementation
457 @RPC(name="reboot", outputType=RebootOutput.class)
458 void reboot(RebootInput rebootInput, ResponseHandler<RebootOutput> listener) throws AppcClientException;
461 * An operation to rebuild a virtual network function (or VM)
463 * @param rebuildInput - RPC input object
465 @RPC(name="rebuild", outputType=RebuildOutput.class)
466 RebuildOutput rebuild(RebuildInput rebuildInput) throws AppcClientException;
469 * An operation to rebuild a virtual network function (or VM)
471 * @param rebuildInput - RPC input object
472 * @return listener - callback implementation
474 @RPC(name="rebuild", outputType=RebuildOutput.class)
475 void rebuild(RebuildInput rebuildInput, ResponseHandler<RebuildOutput> listener) throws AppcClientException;
478 * An operation to restart a virtual network function (or VM)
480 * @param restartInput - RPC input object
482 @RPC(name="restart", outputType=RestartOutput.class)
483 RestartOutput restart(RestartInput restartInput) throws AppcClientException;
486 * An operation to restart a virtual network function (or VM)
488 * @param restartInput - RPC input object
489 * @return listener - callback implementation
491 @RPC(name="restart", outputType=RestartOutput.class)
492 void restart(RestartInput restartInput, ResponseHandler<RestartOutput> listener) throws AppcClientException;
495 * An operation to resume traffic gracefully on the VF. It resumes traffic gracefully without stopping the application
497 * @param resumeTrafficInput - RPC input object
499 @RPC(name="resume-traffic", outputType=ResumeTrafficOutput.class)
500 ResumeTrafficOutput resumeTraffic(ResumeTrafficInput resumeTrafficInput) throws AppcClientException;
503 * An operation to resume traffic gracefully on the VF. It resumes traffic gracefully without stopping the application
505 * @param resumeTrafficInput - RPC input object
506 * @return listener - callback implementation
508 @RPC(name="resume-traffic", outputType=ResumeTrafficOutput.class)
509 void resumeTraffic(ResumeTrafficInput resumeTrafficInput, ResponseHandler<ResumeTrafficOutput> listener) throws AppcClientException;
512 * An operation to rollback to particular snapshot of a virtual network function (or VM)
514 * @param rollbackInput - RPC input object
516 @RPC(name="rollback", outputType=RollbackOutput.class)
517 RollbackOutput rollback(RollbackInput rollbackInput) throws AppcClientException;
520 * An operation to rollback to particular snapshot of a virtual network function (or VM)
522 * @param rollbackInput - RPC input object
523 * @return listener - callback implementation
525 @RPC(name="rollback", outputType=RollbackOutput.class)
526 void rollback(RollbackInput rollbackInput, ResponseHandler<RollbackOutput> listener) throws AppcClientException;
529 * An operation to create a snapshot of a virtual network function (or VM)
531 * @param snapshotInput - RPC input object
533 @RPC(name="snapshot", outputType=SnapshotOutput.class)
534 SnapshotOutput snapshot(SnapshotInput snapshotInput) throws AppcClientException;
537 * An operation to create a snapshot of a virtual network function (or VM)
539 * @param snapshotInput - RPC input object
540 * @return listener - callback implementation
542 @RPC(name="snapshot", outputType=SnapshotOutput.class)
543 void snapshot(SnapshotInput snapshotInput, ResponseHandler<SnapshotOutput> listener) throws AppcClientException;
546 * An operation to upload a new version of vSCP image to vSCP for updating it
548 * @param softwareUploadInput - RPC input object
550 @RPC(name="software-upload", outputType=SoftwareUploadOutput.class)
551 SoftwareUploadOutput softwareUpload(SoftwareUploadInput softwareUploadInput) throws AppcClientException;
554 * An operation to upload a new version of vSCP image to vSCP for updating it
556 * @param softwareUploadInput - RPC input object
557 * @return listener - callback implementation
559 @RPC(name="software-upload", outputType=SoftwareUploadOutput.class)
560 void softwareUpload(SoftwareUploadInput softwareUploadInput, ResponseHandler<SoftwareUploadOutput> listener) throws AppcClientException;
563 * An operation to start a virtual network function (or VM)
565 * @param startInput - RPC input object
567 @RPC(name="start", outputType=StartOutput.class)
568 StartOutput start(StartInput startInput) throws AppcClientException;
571 * An operation to start a virtual network function (or VM)
573 * @param startInput - RPC input object
574 * @return listener - callback implementation
576 @RPC(name="start", outputType=StartOutput.class)
577 void start(StartInput startInput, ResponseHandler<StartOutput> listener) throws AppcClientException;
580 * An operation to perform VNF Start Application operation
582 * @param startApplicationInput - RPC input object
584 @RPC(name="start-application", outputType=StartApplicationOutput.class)
585 StartApplicationOutput startApplication(StartApplicationInput startApplicationInput) throws AppcClientException;
588 * An operation to perform VNF Start Application operation
590 * @param startApplicationInput - RPC input object
591 * @return listener - callback implementation
593 @RPC(name="start-application", outputType=StartApplicationOutput.class)
594 void startApplication(StartApplicationInput startApplicationInput, ResponseHandler<StartApplicationOutput> listener) throws AppcClientException;
597 * An operation to stop the configurations of a virtual network function (or VM)
599 * @param stopInput - RPC input object
601 @RPC(name="stop", outputType=StopOutput.class)
602 StopOutput stop(StopInput stopInput) throws AppcClientException;
605 * An operation to stop the configurations of a virtual network function (or VM)
607 * @param stopInput - RPC input object
608 * @return listener - callback implementation
610 @RPC(name="stop", outputType=StopOutput.class)
611 void stop(StopInput stopInput, ResponseHandler<StopOutput> listener) throws AppcClientException;
614 * An operation to Stop Application traffic to a virtual network function
616 * @param stopApplicationInput - RPC input object
618 @RPC(name="stop-application", outputType=StopApplicationOutput.class)
619 StopApplicationOutput stopApplication(StopApplicationInput stopApplicationInput) throws AppcClientException;
622 * An operation to Stop Application traffic to a virtual network function
624 * @param stopApplicationInput - RPC input object
625 * @return listener - callback implementation
627 @RPC(name="stop-application", outputType=StopApplicationOutput.class)
628 void stopApplication(StopApplicationInput stopApplicationInput, ResponseHandler<StopApplicationOutput> listener) throws AppcClientException;
631 * An operation to sync the configurations of a virtual network function (or VM)
633 * @param syncInput - RPC input object
635 @RPC(name="sync", outputType=SyncOutput.class)
636 SyncOutput sync(SyncInput syncInput) throws AppcClientException;
639 * An operation to sync the configurations of a virtual network function (or VM)
641 * @param syncInput - RPC input object
642 * @return listener - callback implementation
644 @RPC(name="sync", outputType=SyncOutput.class)
645 void sync(SyncInput syncInput, ResponseHandler<SyncOutput> listener) throws AppcClientException;
648 * An operation to terminate the configurations of a virtual network function (or VM)
650 * @param terminateInput - RPC input object
652 @RPC(name="terminate", outputType=TerminateOutput.class)
653 TerminateOutput terminate(TerminateInput terminateInput) throws AppcClientException;
656 * An operation to terminate the configurations of a virtual network function (or VM)
658 * @param terminateInput - RPC input object
659 * @return listener - callback implementation
661 @RPC(name="terminate", outputType=TerminateOutput.class)
662 void terminate(TerminateInput terminateInput, ResponseHandler<TerminateOutput> listener) throws AppcClientException;
665 * An operation to test the configurations of a virtual network function (or VM)
667 * @param testInput - RPC input object
669 @RPC(name="test", outputType=TestOutput.class)
670 TestOutput test(TestInput testInput) throws AppcClientException;
673 * An operation to test the configurations of a virtual network function (or VM)
675 * @param testInput - RPC input object
676 * @return listener - callback implementation
678 @RPC(name="test", outputType=TestOutput.class)
679 void test(TestInput testInput, ResponseHandler<TestOutput> listener) throws AppcClientException;
682 * An operation to perform VNF unlock operation
684 * @param unlockInput - RPC input object
686 @RPC(name="unlock", outputType=UnlockOutput.class)
687 UnlockOutput unlock(UnlockInput unlockInput) throws AppcClientException;
690 * An operation to perform VNF unlock operation
692 * @param unlockInput - RPC input object
693 * @return listener - callback implementation
695 @RPC(name="unlock", outputType=UnlockOutput.class)
696 void unlock(UnlockInput unlockInput, ResponseHandler<UnlockOutput> listener) throws AppcClientException;
699 * An operation does a backout after an UpgradeSoftware is completed (either successfully or unsuccessfully).
701 * @param upgradeBackoutInput - RPC input object
703 @RPC(name="upgrade-backout", outputType=UpgradeBackoutOutput.class)
704 UpgradeBackoutOutput upgradeBackout(UpgradeBackoutInput upgradeBackoutInput) throws AppcClientException;
707 * An operation does a backout after an UpgradeSoftware is completed (either successfully or unsuccessfully).
709 * @param upgradeBackoutInput - RPC input object
710 * @return listener - callback implementation
712 @RPC(name="upgrade-backout", outputType=UpgradeBackoutOutput.class)
713 void upgradeBackout(UpgradeBackoutInput upgradeBackoutInput, ResponseHandler<UpgradeBackoutOutput> listener) throws AppcClientException;
716 * An operation to do full backup of the VNF data prior to an upgrade.
718 * @param upgradeBackupInput - RPC input object
720 @RPC(name="upgrade-backup", outputType=UpgradeBackupOutput.class)
721 UpgradeBackupOutput upgradeBackup(UpgradeBackupInput upgradeBackupInput) throws AppcClientException;
724 * An operation to do full backup of the VNF data prior to an upgrade.
726 * @param upgradeBackupInput - RPC input object
727 * @return listener - callback implementation
729 @RPC(name="upgrade-backup", outputType=UpgradeBackupOutput.class)
730 void upgradeBackup(UpgradeBackupInput upgradeBackupInput, ResponseHandler<UpgradeBackupOutput> listener) throws AppcClientException;
733 * An operation to check the VNF upgrade has been successful completed and all processes are running properly.
735 * @param upgradePostCheckInput - RPC input object
737 @RPC(name="upgrade-post-check", outputType=UpgradePostCheckOutput.class)
738 UpgradePostCheckOutput upgradePostCheck(UpgradePostCheckInput upgradePostCheckInput) throws AppcClientException;
741 * An operation to check the VNF upgrade has been successful completed and all processes are running properly.
743 * @param upgradePostCheckInput - RPC input object
744 * @return listener - callback implementation
746 @RPC(name="upgrade-post-check", outputType=UpgradePostCheckOutput.class)
747 void upgradePostCheck(UpgradePostCheckInput upgradePostCheckInput, ResponseHandler<UpgradePostCheckOutput> listener) throws AppcClientException;
750 * An operation to check that the VNF has the correct software version needed for a software upgrade.
752 * @param upgradePreCheckInput - RPC input object
754 @RPC(name="upgrade-pre-check", outputType=UpgradePreCheckOutput.class)
755 UpgradePreCheckOutput upgradePreCheck(UpgradePreCheckInput upgradePreCheckInput) throws AppcClientException;
758 * An operation to check that the VNF has the correct software version needed for a software upgrade.
760 * @param upgradePreCheckInput - RPC input object
761 * @return listener - callback implementation
763 @RPC(name="upgrade-pre-check", outputType=UpgradePreCheckOutput.class)
764 void upgradePreCheck(UpgradePreCheckInput upgradePreCheckInput, ResponseHandler<UpgradePreCheckOutput> listener) throws AppcClientException;
767 * An operation to upgrade the target VNF to a new version and expected that the VNF is in a quiesced status .
769 * @param upgradeSoftwareInput - RPC input object
771 @RPC(name="upgrade-software", outputType=UpgradeSoftwareOutput.class)
772 UpgradeSoftwareOutput upgradeSoftware(UpgradeSoftwareInput upgradeSoftwareInput) throws AppcClientException;
775 * An operation to upgrade the target VNF to a new version and expected that the VNF is in a quiesced status .
777 * @param upgradeSoftwareInput - RPC input object
778 * @return listener - callback implementation
780 @RPC(name="upgrade-software", outputType=UpgradeSoftwareOutput.class)
781 void upgradeSoftware(UpgradeSoftwareInput upgradeSoftwareInput, ResponseHandler<UpgradeSoftwareOutput> listener) throws AppcClientException;