* ============LICENSE_START=======================================================
* ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modifications Copyright (C) 2018 Orange
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
yang-version 1;
namespace "org:onap:appc:lcm";
prefix appc-provider-lcm;
- organization "Copyright 2017 AT&T Intellectual Property.";
- contact
- "Dewayne Hafenstein <dh868g@att.us.com>";
description
"Defines the services and request/response requirements for the ECOMP APP-C component.";
enum "ConfigExport";
enum "StopApplication";
enum "StartApplication";
- enum "QuiesceTraffic";
+ enum "QuiesceTraffic";
enum "ResumeTraffic";
enum "UpgradePreCheck";
enum "UpgradeSoftware";
enum "Reboot";
enum "AttachVolume";
enum "DetachVolume";
+ enum "DistributeTraffic";
}
description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate";
}
}
}
- /**********************************************************************************
+ /**********************************************************************************
* Define the VNF quiesce traffic service
**********************************************************************************/
rpc quiesce-traffic {
mandatory true;
}
uses action-identifiers;
- }
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
output {
uses common-header;
uses status;
output {
uses common-header;
uses status;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
}
}
output {
uses common-header;
uses status;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
}
}
}
}
- rpc config-scaleout {
- description "An operation to scaleout the configurations of a virtual network
- function (or VM)";
- input {
- uses common-header;
- leaf action {
- type action;
- mandatory true;
- }
- uses action-identifiers;
- leaf payload {
- type payload;
- mandatory false;
+ rpc config-scale-out {
+ description "An operation to Modify the configuration or other action to support
+ a ConfigScaleOut of a VNF.";
+ input {
+ uses common-header;
+ leaf action {
+ type action;
+ mandatory true;
+ }
+ uses action-identifiers;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
}
- }
- output {
- uses common-header;
- uses status;
- leaf payload {
- type payload;
- mandatory false;
+ output {
+ uses common-header;
+ uses status;
+ leaf payload {
+ type payload;
+ mandatory false;
+ }
}
}
- }
rpc config-restore {
description "An operation to restore the configurations of a virtual network
output {
uses common-header;
uses status;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+
}
}
}
}
+ /**********************************************************************************
+ * Define the traffic distribution service
+ **********************************************************************************/
+ rpc distribute-traffic {
+ description "An operation to distribute traffic between VMs";
+ input {
+ uses common-header;
+ leaf action {
+ type action;
+ mandatory true;
+ }
+ uses action-identifiers;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+ output {
+ uses common-header;
+ uses status;
+ }
+ }
+
/**********************************************************************************