Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
6481
-
High
Description
For both testers and regular users, deployment of ODL cluster is an essential step. Documentation exists, but every help with automation helps.
Integration distribution already provides configure_cluster.sh script, but this script needs to be run on every member with corresponding index as argument (and the full list of member IP addresses).
There are multiple automation frameworks (for example ansible) which can help with the task of running scripts on multiple nodes, but the need of the index argument makes this harder to achieve.
But it is possible for bash script to detect local IP addresses, so the index can be determined by comparing to member IP addresses. This would allow users to configure cluster by running exactly the same command on each member.
As configure_cluster.sh is already used by some automation frameworks (for example in releng/builder scripts used for ODL CSIT), its API should not be changed. But a separate script can be added to bin/ directory to support this index-less configuration.
As testing usually uses the same automation to test multiple ODL versions, such additional script should be back-ported down to Beryllium.