Loading src/tests/ofc23/delete_all.sh +3 −5 Original line number Diff line number Diff line Loading @@ -15,10 +15,8 @@ # Delete old namespaces kubectl delete namespace tfs-dom1 tfs-dom2 tfs-dom3 tfs-dom4 tfs-bchain kubectl delete namespace tfs-parent tfs-child # Delete secondary ingress controllers kubectl delete -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom4.yaml kubectl delete -f ofc23/nginx-ingress-controller-parent.yaml kubectl delete -f ofc23/nginx-ingress-controller-child.yaml src/tests/ofc23/deploy_all.sh +15 −35 Original line number Diff line number Diff line Loading @@ -15,42 +15,22 @@ # Delete old namespaces kubectl delete namespace tfs-dom1 tfs-dom2 tfs-dom3 tfs-dom4 kubectl delete namespace tfs-parent tfs-child # Delete secondary ingress controllers kubectl delete -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom4.yaml # Delete MockBlockchain #kubectl delete namespace tfs-bchain kubectl delete -f ofc23/nginx-ingress-controller-parent.yaml kubectl delete -f ofc23/nginx-ingress-controller-child.yaml # Create secondary ingress controllers kubectl apply -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom4.yaml # Create MockBlockchain #./deploy_mock_blockchain.sh # Deploy TFS for Domain 1 source nfvsdn22/deploy_specs_dom1.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom1.sh # Deploy TFS for Domain 2 source nfvsdn22/deploy_specs_dom2.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom2.sh # Deploy TFS for Domain 3 source nfvsdn22/deploy_specs_dom3.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom3.sh # Deploy TFS for Domain 4 source nfvsdn22/deploy_specs_dom4.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom4.sh kubectl apply -f ofc23/nginx-ingress-controller-parent.yaml kubectl apply -f ofc23/nginx-ingress-controller-child.yaml # Deploy TFS for Parent source ofc23/deploy_specs_parent.sh ./deploy/all.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_parent.sh # Deploy TFS for Child source ofc23/deploy_specs_child.sh ./deploy/all.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_child.sh src/tests/ofc23/deploy_specs_child.sh +93 −10 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -12,24 +13,106 @@ # See the License for the specific language governing permissions and # limitations under the License. # Set the URL of your local Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/" # ----- TeraFlowSDN ------------------------------------------------------------ # Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice webui" #automation monitoring load_generator export TFS_COMPONENTS="context device pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" # Set the name of the Kubernetes namespace to deploy to. # Set the name of the Kubernetes namespace to deploy TFS to. export TFS_K8S_NAMESPACE="tfs-child" # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="nfvsdn22/tfs-ingress-child.yaml" export TFS_EXTRA_MANIFESTS="ofc23/tfs-ingress-child.yaml" # Set the neew Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" # If not already set, disable skip-build flag. # If TFS_SKIP_BUILD is "YES", the containers are not rebuilt-retagged-repushed and existing ones are used. export TFS_SKIP_BUILD="YES" # Disable skip-build flag to rebuild the Docker images. export TFS_SKIP_BUILD="" # ----- CockroachDB ------------------------------------------------------------ # Set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE="crdb-child" # Set the external port CockroackDB Postgre SQL interface will be exposed to. export CRDB_EXT_PORT_SQL="26258" # Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to. export CRDB_EXT_PORT_HTTP="8082" # Set the database username to be used by Context. export CRDB_USERNAME="tfs" # Set the database user's password to be used by Context. export CRDB_PASSWORD="tfs123" # Set the database name to be used by Context. export CRDB_DATABASE="tfs" # Set CockroachDB installation mode to 'single'. This option is convenient for development and testing. # See ./deploy/all.sh or ./deploy/crdb.sh for additional details export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # Set the namespace where NATS will be deployed. export NATS_NAMESPACE="nats-child" # Set the external port NATS Client interface will be exposed to. export NATS_EXT_PORT_CLIENT="4223" # Set the external port NATS HTTP Mgmt GUI interface will be exposed to. export NATS_EXT_PORT_HTTP="8223" # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # Set the namespace where QuestDB will be deployed. export QDB_NAMESPACE="qdb-child" # Set the external port QuestDB Postgre SQL interface will be exposed to. export QDB_EXT_PORT_SQL="8813" # Set the external port QuestDB Influx Line Protocol interface will be exposed to. export QDB_EXT_PORT_ILP="9010" # Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to. export QDB_EXT_PORT_HTTP="9001" # Set the database username to be used for QuestDB. export QDB_USERNAME="admin" # Set the database user's password to be used for QuestDB. export QDB_PASSWORD="quest" # Set the table name to be used by Monitoring for KPIs. export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" # Set the table name to be used by Slice for plotting groups. export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="" src/tests/ofc23/deploy_specs_parent.sh +93 −10 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -12,24 +13,106 @@ # See the License for the specific language governing permissions and # limitations under the License. # Set the URL of your local Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/" # ----- TeraFlowSDN ------------------------------------------------------------ # Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice webui" #automation monitoring load_generator export TFS_COMPONENTS="context device pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" # Set the name of the Kubernetes namespace to deploy to. # Set the name of the Kubernetes namespace to deploy TFS to. export TFS_K8S_NAMESPACE="tfs-parent" # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="nfvsdn22/tfs-ingress-parent.yaml" export TFS_EXTRA_MANIFESTS="ofc23/tfs-ingress-parent.yaml" # Set the neew Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" # If not already set, disable skip-build flag. # If TFS_SKIP_BUILD is "YES", the containers are not rebuilt-retagged-repushed and existing ones are used. export TFS_SKIP_BUILD="NO" # Disable skip-build flag to rebuild the Docker images. export TFS_SKIP_BUILD="" # ----- CockroachDB ------------------------------------------------------------ # Set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE="crdb-parent" # Set the external port CockroackDB Postgre SQL interface will be exposed to. export CRDB_EXT_PORT_SQL="26257" # Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to. export CRDB_EXT_PORT_HTTP="8081" # Set the database username to be used by Context. export CRDB_USERNAME="tfs" # Set the database user's password to be used by Context. export CRDB_PASSWORD="tfs123" # Set the database name to be used by Context. export CRDB_DATABASE="tfs" # Set CockroachDB installation mode to 'single'. This option is convenient for development and testing. # See ./deploy/all.sh or ./deploy/crdb.sh for additional details export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # Set the namespace where NATS will be deployed. export NATS_NAMESPACE="nats-parent" # Set the external port NATS Client interface will be exposed to. export NATS_EXT_PORT_CLIENT="4222" # Set the external port NATS HTTP Mgmt GUI interface will be exposed to. export NATS_EXT_PORT_HTTP="8222" # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # Set the namespace where QuestDB will be deployed. export QDB_NAMESPACE="qdb-parent" # Set the external port QuestDB Postgre SQL interface will be exposed to. export QDB_EXT_PORT_SQL="8812" # Set the external port QuestDB Influx Line Protocol interface will be exposed to. export QDB_EXT_PORT_ILP="9009" # Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to. export QDB_EXT_PORT_HTTP="9000" # Set the database username to be used for QuestDB. export QDB_USERNAME="admin" # Set the database user's password to be used for QuestDB. export QDB_PASSWORD="quest" # Set the table name to be used by Monitoring for KPIs. export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" # Set the table name to be used by Slice for plotting groups. export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="" src/tests/ofc23/descriptors/descriptor_child.json 0 → 100644 +55 −0 Original line number Diff line number Diff line { "contexts": [ {"context_id": {"context_uuid": {"uuid": "admin"}}} ], "topologies": [ {"topology_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "topology_uuid": {"uuid": "admin"}}} ], "devices": [ { "device_id": {"device_uuid": {"uuid": "PE1"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE2"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE3"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE4"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} } ], "links": [] } Loading
src/tests/ofc23/delete_all.sh +3 −5 Original line number Diff line number Diff line Loading @@ -15,10 +15,8 @@ # Delete old namespaces kubectl delete namespace tfs-dom1 tfs-dom2 tfs-dom3 tfs-dom4 tfs-bchain kubectl delete namespace tfs-parent tfs-child # Delete secondary ingress controllers kubectl delete -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom4.yaml kubectl delete -f ofc23/nginx-ingress-controller-parent.yaml kubectl delete -f ofc23/nginx-ingress-controller-child.yaml
src/tests/ofc23/deploy_all.sh +15 −35 Original line number Diff line number Diff line Loading @@ -15,42 +15,22 @@ # Delete old namespaces kubectl delete namespace tfs-dom1 tfs-dom2 tfs-dom3 tfs-dom4 kubectl delete namespace tfs-parent tfs-child # Delete secondary ingress controllers kubectl delete -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl delete -f nfvsdn22/nginx-ingress-controller-dom4.yaml # Delete MockBlockchain #kubectl delete namespace tfs-bchain kubectl delete -f ofc23/nginx-ingress-controller-parent.yaml kubectl delete -f ofc23/nginx-ingress-controller-child.yaml # Create secondary ingress controllers kubectl apply -f nfvsdn22/nginx-ingress-controller-dom1.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom2.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom3.yaml kubectl apply -f nfvsdn22/nginx-ingress-controller-dom4.yaml # Create MockBlockchain #./deploy_mock_blockchain.sh # Deploy TFS for Domain 1 source nfvsdn22/deploy_specs_dom1.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom1.sh # Deploy TFS for Domain 2 source nfvsdn22/deploy_specs_dom2.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom2.sh # Deploy TFS for Domain 3 source nfvsdn22/deploy_specs_dom3.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom3.sh # Deploy TFS for Domain 4 source nfvsdn22/deploy_specs_dom4.sh ./deploy.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_dom4.sh kubectl apply -f ofc23/nginx-ingress-controller-parent.yaml kubectl apply -f ofc23/nginx-ingress-controller-child.yaml # Deploy TFS for Parent source ofc23/deploy_specs_parent.sh ./deploy/all.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_parent.sh # Deploy TFS for Child source ofc23/deploy_specs_child.sh ./deploy/all.sh mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_child.sh
src/tests/ofc23/deploy_specs_child.sh +93 −10 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -12,24 +13,106 @@ # See the License for the specific language governing permissions and # limitations under the License. # Set the URL of your local Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/" # ----- TeraFlowSDN ------------------------------------------------------------ # Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice webui" #automation monitoring load_generator export TFS_COMPONENTS="context device pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" # Set the name of the Kubernetes namespace to deploy to. # Set the name of the Kubernetes namespace to deploy TFS to. export TFS_K8S_NAMESPACE="tfs-child" # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="nfvsdn22/tfs-ingress-child.yaml" export TFS_EXTRA_MANIFESTS="ofc23/tfs-ingress-child.yaml" # Set the neew Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" # If not already set, disable skip-build flag. # If TFS_SKIP_BUILD is "YES", the containers are not rebuilt-retagged-repushed and existing ones are used. export TFS_SKIP_BUILD="YES" # Disable skip-build flag to rebuild the Docker images. export TFS_SKIP_BUILD="" # ----- CockroachDB ------------------------------------------------------------ # Set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE="crdb-child" # Set the external port CockroackDB Postgre SQL interface will be exposed to. export CRDB_EXT_PORT_SQL="26258" # Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to. export CRDB_EXT_PORT_HTTP="8082" # Set the database username to be used by Context. export CRDB_USERNAME="tfs" # Set the database user's password to be used by Context. export CRDB_PASSWORD="tfs123" # Set the database name to be used by Context. export CRDB_DATABASE="tfs" # Set CockroachDB installation mode to 'single'. This option is convenient for development and testing. # See ./deploy/all.sh or ./deploy/crdb.sh for additional details export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # Set the namespace where NATS will be deployed. export NATS_NAMESPACE="nats-child" # Set the external port NATS Client interface will be exposed to. export NATS_EXT_PORT_CLIENT="4223" # Set the external port NATS HTTP Mgmt GUI interface will be exposed to. export NATS_EXT_PORT_HTTP="8223" # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # Set the namespace where QuestDB will be deployed. export QDB_NAMESPACE="qdb-child" # Set the external port QuestDB Postgre SQL interface will be exposed to. export QDB_EXT_PORT_SQL="8813" # Set the external port QuestDB Influx Line Protocol interface will be exposed to. export QDB_EXT_PORT_ILP="9010" # Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to. export QDB_EXT_PORT_HTTP="9001" # Set the database username to be used for QuestDB. export QDB_USERNAME="admin" # Set the database user's password to be used for QuestDB. export QDB_PASSWORD="quest" # Set the table name to be used by Monitoring for KPIs. export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" # Set the table name to be used by Slice for plotting groups. export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY=""
src/tests/ofc23/deploy_specs_parent.sh +93 −10 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -12,24 +13,106 @@ # See the License for the specific language governing permissions and # limitations under the License. # Set the URL of your local Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/" # ----- TeraFlowSDN ------------------------------------------------------------ # Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to. export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice webui" #automation monitoring load_generator export TFS_COMPONENTS="context device pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" # Set the name of the Kubernetes namespace to deploy to. # Set the name of the Kubernetes namespace to deploy TFS to. export TFS_K8S_NAMESPACE="tfs-parent" # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="nfvsdn22/tfs-ingress-parent.yaml" export TFS_EXTRA_MANIFESTS="ofc23/tfs-ingress-parent.yaml" # Set the neew Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" # If not already set, disable skip-build flag. # If TFS_SKIP_BUILD is "YES", the containers are not rebuilt-retagged-repushed and existing ones are used. export TFS_SKIP_BUILD="NO" # Disable skip-build flag to rebuild the Docker images. export TFS_SKIP_BUILD="" # ----- CockroachDB ------------------------------------------------------------ # Set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE="crdb-parent" # Set the external port CockroackDB Postgre SQL interface will be exposed to. export CRDB_EXT_PORT_SQL="26257" # Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to. export CRDB_EXT_PORT_HTTP="8081" # Set the database username to be used by Context. export CRDB_USERNAME="tfs" # Set the database user's password to be used by Context. export CRDB_PASSWORD="tfs123" # Set the database name to be used by Context. export CRDB_DATABASE="tfs" # Set CockroachDB installation mode to 'single'. This option is convenient for development and testing. # See ./deploy/all.sh or ./deploy/crdb.sh for additional details export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # Set the namespace where NATS will be deployed. export NATS_NAMESPACE="nats-parent" # Set the external port NATS Client interface will be exposed to. export NATS_EXT_PORT_CLIENT="4222" # Set the external port NATS HTTP Mgmt GUI interface will be exposed to. export NATS_EXT_PORT_HTTP="8222" # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # Set the namespace where QuestDB will be deployed. export QDB_NAMESPACE="qdb-parent" # Set the external port QuestDB Postgre SQL interface will be exposed to. export QDB_EXT_PORT_SQL="8812" # Set the external port QuestDB Influx Line Protocol interface will be exposed to. export QDB_EXT_PORT_ILP="9009" # Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to. export QDB_EXT_PORT_HTTP="9000" # Set the database username to be used for QuestDB. export QDB_USERNAME="admin" # Set the database user's password to be used for QuestDB. export QDB_PASSWORD="quest" # Set the table name to be used by Monitoring for KPIs. export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" # Set the table name to be used by Slice for plotting groups. export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY=""
src/tests/ofc23/descriptors/descriptor_child.json 0 → 100644 +55 −0 Original line number Diff line number Diff line { "contexts": [ {"context_id": {"context_uuid": {"uuid": "admin"}}} ], "topologies": [ {"topology_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "topology_uuid": {"uuid": "admin"}}} ], "devices": [ { "device_id": {"device_uuid": {"uuid": "PE1"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE2"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE3"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} }, { "device_id": {"device_uuid": {"uuid": "PE4"}}, "device_type": "emu-packet-router", "device_drivers": [0], "device_endpoints": [], "device_operational_status": 0, "device_config": {"config_rules": [ {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": {"endpoints": [ {"sample_types": [], "type": "copper/internal", "uuid": "1/1"}, {"sample_types": [], "type": "copper/internal", "uuid": "1/2"} ]}}} ]} } ], "links": [] }