ODL Notes
...
Basically the two main limitations are (a) the total number of nodes has to be odd (due to how voting works) and (b) if you add additional nodes, you need to update the akka.conf on all the existing nodes as well and bounce them. Make sure to bring up the old ones first to make sure one of those becomes the "shard leader" (otherwise I'd worry that one of the new ones would think it's the leader even though it has no data yet, and "replicate" its lack of data to the others).
ODL clustering was designed for high availability really - not for scaling. So that's why it doesn’t address scaling in any real way. There are some improvements in clustering planned for the next ODL release (Oxygen), the details for the improvements are not yet known.
...
ConfigScaleOut API Definition
Note: This is temporary documentation for M2- LCM API Guide will be updated when everything is finalized.
ConfigScaleOut
The ConfigScaleOut command is used to apply any actions on a VNF as part of a ScaleOut flow. Actions could include updating the VNF configuration or running a set of other tasks.
The ConfigScaleOut action can have multiple APP-C templates associated with it. APP-C retrieves the vf-module-name from A&AI which is used as the unique identifier to select the correct APP-C template.
APP-C creates or updates VNFC records in A&AI for the newly instantiated VM’s. The orchestration-status of the VNFC’s is set to CONFIGURED.
This action is supported via the Netconf (limited to configuration changes), Chef, and Ansible protocols.
...
Target URL
...
/restconf /operations/ appc-provider-lcm: config-scale-out
...
Action
...
ConfigScaleOut
...
Action-Identifiers
...
Vnf-id
...
Payload Parameters
...
See below
...
Revision History
...
New in Beijing
Request Payload Parameters:
...
Payload
Parameter
...
Description
...
Required?
...
Example
...
request- parameters
...
vnf-host-ip-address: optional if Netconf or other direct interface to the VNF. If not provided, the vnf-host-ip-address will be obtained from A&AI.
Vf-module-id: used to determine the A&AI VM inventory associated with ConfigScaleOut.
...
No
Yes
...
"payload":
"{\"request-parameters
\": {
\"vnf-host-ip-address\": \”value\”,
\”vf-module-id\”: \”value\”
}
\"configuration- parameters\": {\"<CONFIG- PARAMS>\"}
...
configuration- parameters
...
A set of instance specific configuration parameters should be specified. If provided, APP-C replaces variables in the configuration template with the values supplied.
...
No
ConfigScaleOut Response:
Success:
- A successful ConfigScaleOut returns a success status code 400 when completed.
Failure:
...
Information on the ConfigScaleOut can be found on readthedocs: