Commit 848d6d27 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

OFC'23 demo:

- updated descriptors and scripts
parent 72afa877
Loading
Loading
Loading
Loading
+18 −0
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");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# Delete old namespaces
kubectl delete namespace tfs
+23 −0
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");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# Delete old namespaces
kubectl delete namespace tfs-sligrp

# Deploy TFS for Slice Goruping
source ofc23/deploy_specs_sligrp.sh
./deploy/all.sh
mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_sligrp.sh
+10 −10
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
#automation monitoring load_generator
export TFS_COMPONENTS="context device automation pathcomp service slice compute webui"
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"
@@ -42,13 +42,13 @@ export TFS_SKIP_BUILD="YES"
# ----- CockroachDB ------------------------------------------------------------

# Set the namespace where CockroackDB will be deployed.
export CRDB_NAMESPACE="crdb-child"
export CRDB_NAMESPACE="crdb"

# Set the external port CockroackDB Postgre SQL interface will be exposed to.
export CRDB_EXT_PORT_SQL="26258"
export CRDB_EXT_PORT_SQL="26257"

# Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to.
export CRDB_EXT_PORT_HTTP="8082"
export CRDB_EXT_PORT_HTTP="8081"

# Set the database username to be used by Context.
export CRDB_USERNAME="tfs"
@@ -57,7 +57,7 @@ export CRDB_USERNAME="tfs"
export CRDB_PASSWORD="tfs123"

# Set the database name to be used by Context.
export CRDB_DATABASE="tfs"
export CRDB_DATABASE="tfs_child"

# 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
@@ -76,10 +76,10 @@ export CRDB_REDEPLOY=""
export NATS_NAMESPACE="nats-child"

# Set the external port NATS Client interface will be exposed to.
export NATS_EXT_PORT_CLIENT="4223"
export NATS_EXT_PORT_CLIENT="4224"

# Set the external port NATS HTTP Mgmt GUI interface will be exposed to.
export NATS_EXT_PORT_HTTP="8223"
export NATS_EXT_PORT_HTTP="8224"

# Disable flag for re-deploying NATS from scratch.
export NATS_REDEPLOY=""
@@ -91,13 +91,13 @@ export NATS_REDEPLOY=""
export QDB_NAMESPACE="qdb-child"

# Set the external port QuestDB Postgre SQL interface will be exposed to.
export QDB_EXT_PORT_SQL="8813"
export QDB_EXT_PORT_SQL="8814"

# Set the external port QuestDB Influx Line Protocol interface will be exposed to.
export QDB_EXT_PORT_ILP="9010"
export QDB_EXT_PORT_ILP="9012"

# Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to.
export QDB_EXT_PORT_HTTP="9001"
export QDB_EXT_PORT_HTTP="9002"

# Set the database username to be used for QuestDB.
export QDB_USERNAME="admin"
Loading