diff --git a/docs/about/features_index/workflowinterface.rst b/docs/about/features_index/workflowinterface.rst index 6dc9527ba1..8ef440f4ce 100644 --- a/docs/about/features_index/workflowinterface.rst +++ b/docs/about/features_index/workflowinterface.rst @@ -342,37 +342,43 @@ An example configuration file `director_config.yaml` is shown below: **Envoy: Participating nodes in the Federation** -The `fx envoy start` command is used to start the Envoy. You can run it with or without TLS, depending on your setup. +The :code:`fx envoy start` command is used to start the Envoy. You can run it with or without TLS, depending on your setup. **With TLS:** Use the following command: .. code-block:: shell - $ fx envoy start -n -ec -dh -dp -rc -pk -oc + $ fx envoy start -n -c -rc -pk -oc **Without TLS:** Use the following command: .. code-block:: shell - $ fx envoy start -n --disable-tls -ec + $ fx envoy start -n --disable-tls -c **Explanation of Command Options** - `-n `: Specifies the name of the Envoy. -- `-ec `: Path to the Envoy's configuration file. -- `-dh `: Hostname or IP address of the Director. -- `-dp `: Port on which the Director is running. +- `-c `: Path to the Envoy's configuration file. - `-rc `: Path to the root certificate (used with TLS). - `-pk `: Path to the private key file (used with TLS). - `-oc `: Path to the API certificate file (used with TLS). - `--disable-tls`: Disables TLS encryption. -The Envoy configuration file includes details about the private attributes. An example configuration file :code:`envoy_config.yaml` for :code:`envoy_one` is shown below: +The Envoy configuration file includes details of director_host, director_port and private attributes. An example configuration file :code:`envoy_config.yaml` for :code:`settings` and :code:`envoy_one` is shown below: + +- Hostname (`director_host`) +- Port (`director_port`) +- Private attributes for envoy_one .. code-block:: yaml + settings: + director_host: localhost + director_port: 50050 + envoy_one: private_attributes: private_attributes.envoy_one_attrs diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/Portland_config.yaml b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/Portland_config.yaml index 318e22d71d..a37e5010bd 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/Portland_config.yaml +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/Portland_config.yaml @@ -1,2 +1,6 @@ +settings: + director_host: localhost + director_port: 50050 + Portland: private_attributes: private_attributes.portland_attrs \ No newline at end of file diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/start_envoy.sh b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/start_envoy.sh +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Portland/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/Seattle_config.yaml b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/Seattle_config.yaml index b95c8242ef..07a819115c 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/Seattle_config.yaml +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/Seattle_config.yaml @@ -1,2 +1,6 @@ +settings: + director_host: localhost + director_port: 50050 + Seattle: private_attributes: private_attributes.seattle_attrs \ No newline at end of file diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/start_envoy.sh b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/start_envoy.sh +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/101_MNIST/Seattle/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/Bangalore_config.yaml b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/Bangalore_config.yaml index ec4a088af7..51366acea8 100644 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/Bangalore_config.yaml +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/Bangalore_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + Bangalore: callable_func: settings: diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/start_envoy.sh b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/start_envoy.sh +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/Chandler_config.yaml b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/Chandler_config.yaml index 60f763ee55..ac0cffda09 100644 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/Chandler_config.yaml +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/Chandler_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + Chandler: callable_func: settings: diff --git a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/start_envoy.sh b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/start_envoy.sh +++ b/openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/openfl/experimental/workflow/interface/cli/envoy.py b/openfl/experimental/workflow/interface/cli/envoy.py index dbb5d57ce9..1c16ec9990 100644 --- a/openfl/experimental/workflow/interface/cli/envoy.py +++ b/openfl/experimental/workflow/interface/cli/envoy.py @@ -12,7 +12,7 @@ from dynaconf import Validator from openfl.experimental.workflow.component.envoy import Envoy -from openfl.utilities import click_types, merge_configs +from openfl.utilities import is_fqdn, merge_configs from openfl.utilities.path_check import is_directory_traversal logger = logging.getLogger(__name__) @@ -32,18 +32,11 @@ def envoy(context): @envoy.command(name="start") @option("-n", "--envoy_name", required=True, help="Current shard name") @option( - "-dh", - "--director-host", - required=True, - help="The FQDN of the federation director", - type=click_types.FQDN, -) -@option( - "-dp", - "--director-port", - required=True, - help="The federation director port", - type=click.IntRange(1, 65535), + "-c", + "--envoy-config-path", + default="envoy_config.yaml", + help="The envoy config path", + type=ClickPath(exists=True), ) @option( "--tls/--disable-tls", @@ -51,13 +44,6 @@ def envoy(context): is_flag=True, help="Use TLS or not (By default TLS is enabled)", ) -@option( - "-ec", - "--envoy-config-path", - default="envoy_config.yaml", - help="The envoy config path", - type=ClickPath(exists=True), -) @option( "-rc", "--root-cert-path", @@ -84,8 +70,6 @@ def envoy(context): ) def start_( envoy_name, - director_host, - director_port, tls, envoy_config_path, root_certificate, @@ -96,8 +80,6 @@ def start_( Args: envoy_name (str): Name of the Envoy. - director_host (str): The FQDN of the federation director. - director_port (int): The federation director port. tls (bool): Use TLS or not. envoy_config_path (str): The envoy config path. root_certificate (str): Path to a root CA cert. @@ -118,6 +100,31 @@ def start_( "certificate": certificate, }, validators=[ + Validator( + "settings", + must_exist=True, + messages={"must_exist_true": "Missing 'settings' in Envoy Configuration file."}, + ), + Validator( + "settings.director_host", + must_exist=True, + condition=lambda x: bool(x) and is_fqdn(x), + messages={ + "must_exist_true": "Missing 'director_host' in Envoy Configuration file", + "condition": "Invalid 'director_host' in Envoy Configuration file." + "Must be a valid FQDN", + }, + ), + Validator( + "settings.director_port", + must_exist=True, + condition=lambda value: isinstance(value, int) and 1024 <= value <= 65535, + messages={ + "must_exist_true": "Missing 'director_port' in Envoy Configuration file", + "condition": "Invalid 'director_port' in Envoy Configuration file" + "Must be an integer between 1024 & 65535", + }, + ), Validator("params.install_requirements", default=True), ], ) @@ -138,8 +145,8 @@ def start_( envoy = Envoy( envoy_name=envoy_name, - director_host=director_host, - director_port=director_port, + director_host=config.settings.director_host, + director_port=config.settings.director_port, envoy_config=Path(envoy_config_path).absolute(), root_certificate=config.root_certificate, private_key=config.private_key, diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/envoy_config.yaml index f6f96d3d6b..a7ec1ff3e5 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/envoy_config.yaml index eaf34da1df..53af1eff87 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_datastore_cli/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/envoy_config.yaml index 3d8b4e2882..d52281fda0 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/envoy_config.yaml @@ -1,2 +1,4 @@ - +settings: + director_host: localhost + director_port: 50050 \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/start_envoy.sh index bfc8af2959..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/envoy_config.yaml index e69de29bb2..d52281fda0 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/envoy_config.yaml @@ -0,0 +1,4 @@ +settings: + director_host: localhost + director_port: 50050 + \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/start_envoy.sh index bfc8af2959..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_include_exclude/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/envoy_config.yaml index e69de29bb2..6d54e2b64a 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/envoy_config.yaml @@ -0,0 +1,3 @@ +settings: + director_host: localhost + director_port: 50050 \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/envoy_config.yaml index e69de29bb2..6d54e2b64a 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/envoy_config.yaml @@ -0,0 +1,3 @@ +settings: + director_host: localhost + director_port: 50050 \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_internalloop/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/envoy_config.yaml index 73a1ce09f4..2db6f82dee 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/envoy_config.yaml index ec859a79cd..060b7dbd37 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/envoy_config.yaml index afce54bcd2..4d4591cef9 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/envoy_config.yaml index 51c4e7be6e..629fa0b14a 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_with_both_options/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/envoy_config.yaml index a4a2ecb2d8..5ab81a1b49 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/envoy_config.yaml @@ -1,2 +1,6 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: private_attributes: private_attributes.collaborator_private_attrs.collaborator_private_attributes diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/envoy_config.yaml index 9bce3671b7..3827c74155 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/envoy_config.yaml @@ -1,2 +1,6 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: private_attributes: private_attributes.collaborator_private_attrs.collaborator_private_attributes \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_private_attributes_initialization_without_callable/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/envoy_config.yaml index bb76d4845e..8370aa8985 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/envoy_config.yaml index 2c44953a5e..ca7e8b60ab 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/envoy_config.yaml index e69de29bb2..6d54e2b64a 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/envoy_config.yaml @@ -0,0 +1,3 @@ +settings: + director_host: localhost + director_port: 50050 \ No newline at end of file diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/envoy_config.yaml index 8b13789179..9aee5ed92b 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/envoy_config.yaml @@ -1 +1,3 @@ - +settings: + director_host: localhost + director_port: 50050 diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_reference_with_include_exclude/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/envoy_config.yaml index d5c49635f3..ad23030ec3 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_four: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_four/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/envoy_config.yaml index 04e7ad4fd8..1eb2d73be3 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_one: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_one/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/envoy_config.yaml index f78af08e58..9ee2ad5aa1 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_three: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_three/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF" diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/envoy_config.yaml b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/envoy_config.yaml index 6149ff9f1d..4b2a040a1f 100644 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/envoy_config.yaml +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/envoy_config.yaml @@ -1,3 +1,7 @@ +settings: + director_host: localhost + director_port: 50050 + envoy_two: callable_func: settings: diff --git a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/start_envoy.sh b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/start_envoy.sh index 4da07821af..5c2d296cda 100755 --- a/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/start_envoy.sh +++ b/tests/github/experimental/workflow/FederatedRuntime/testcase_subset_of_collaborators/envoy_two/start_envoy.sh @@ -3,4 +3,4 @@ set -e ENVOY_NAME=$1 ENVOY_CONF=$2 -fx envoy start -n "$ENVOY_NAME" --disable-tls --envoy-config-path "$ENVOY_CONF" -dh localhost -dp 50050 +fx envoy start -n "$ENVOY_NAME" --disable-tls -c "$ENVOY_CONF"