-parser = argparse.ArgumentParser(description='Cluster Deployer')
-parser.add_argument("--distribution", default="",
- help="the absolute path of the distribution on the local "
- "host that needs to be deployed. (Must contain "
- "version in the form: \"<#>.<#>.<#>-<name>\", e.g. "
- "0.2.0-SNAPSHOT)",
- required=True)
-parser.add_argument("--rootdir", default="/root",
- help="the root directory on the remote host where the "
- "distribution is to be deployed",
- required=True)
-parser.add_argument("--hosts", default="", help="a comma separated list of "
- "host names or ip addresses",
- required=True)
-parser.add_argument("--clean", action="store_true", default=False,
- help="clean the deployment on the remote host")
-parser.add_argument("--template", default="openflow",
- help="the name of the template to be used. "
- "This name should match a folder in the templates "
- "directory.")
-parser.add_argument("--rf", default=3, type=int,
- help="replication factor. This is the number of replicas "
- "that should be created for each shard.")
-parser.add_argument("--user", default="root", help="the SSH username for the "
- "remote host(s)")
-parser.add_argument("--password", default="Ecp123",
- help="the SSH password for the remote host(s)")
+parser = argparse.ArgumentParser(description="Cluster Deployer")
+parser.add_argument(
+ "--distribution",
+ default="",
+ help="the absolute path of the distribution on the local "
+ "host that needs to be deployed. (Must contain "
+ 'version in the form: "<#>.<#>.<#>-<name>", e.g. '
+ "0.2.0-SNAPSHOT)",
+ required=True,
+)
+parser.add_argument(
+ "--rootdir",
+ default="/root",
+ help="the root directory on the remote host where the "
+ "distribution is to be deployed",
+ required=True,
+)
+parser.add_argument(
+ "--hosts",
+ default="",
+ help="a comma separated list of " "host names or ip addresses",
+ required=True,
+)
+parser.add_argument(
+ "--clean",
+ action="store_true",
+ default=False,
+ help="clean the deployment on the remote host",
+)
+parser.add_argument(
+ "--template",
+ default="openflow",
+ help="the name of the template to be used. "
+ "This name should match a folder in the templates "
+ "directory.",
+)
+parser.add_argument(
+ "--rf",
+ default=3,
+ type=int,
+ help="replication factor. This is the number of replicas "
+ "that should be created for each shard.",
+)
+parser.add_argument(
+ "--user", default="root", help="the SSH username for the " "remote host(s)"
+)
+parser.add_argument(
+ "--password", default="Ecp123", help="the SSH password for the remote host(s)"
+)