def default_port(self):
        deploy = FilePath(self.mktemp())
        app = FilePath(self.mktemp())

        deploy.setContent(b"{}")
        app.setContent(b"{}")

        self.assertEqual(self.options.parseOptions(
            [CONTROL_HOST, deploy.path, app.path])["port"], REST_API_PORT)
The default port to connect to is the REST API port.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/cli/test/test_deploy_script.py/DeployOptionsTests.default_port