Commit 7c908a97 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Scenario OFC23 definition

- initial partial definition
parent a6ff6475
Loading
Loading
Loading
Loading

TODO.txt

0 → 100644
+9 −0
Original line number Diff line number Diff line
- confirm with Hakim everything is in branch hakim-develop-patch-44885
- merge branch hakim-develop-patch-44885 into feat/device-ietf-l2vpn
- delete branch hakim-develop-patch-44885

- update OFC'23 to deploy 2 instances without blockchain
dom1 => parent
dom2 => child
dom3/4 => remove
replace nfvsdn22 => ofc23
+2 −0
Original line number Diff line number Diff line
# Add here your files containing confidential testbed details such as IP addresses, ports, usernames, passwords, etc.
descriptors_real.json
+23 −0
Original line number Diff line number Diff line
# Ref: https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/
# Ref: https://fabianlee.org/2021/07/29/kubernetes-microk8s-with-multiple-metallb-endpoints-and-nginx-ingress-controllers/

# Check node limits
kubectl describe nodes

# Create secondary ingress controllers
kubectl apply -f ofc23/nginx-ingress-controller-parent.yaml
kubectl apply -f ofc23/nginx-ingress-controller-child.yaml

# Delete secondary ingress controllers
kubectl delete -f ofc23/nginx-ingress-controller-parent.yaml
kubectl delete -f ofc23/nginx-ingress-controller-child.yaml

source ofc23/deploy_specs_parent.sh
./deploy/all.sh

source ofc23/deploy_specs_child.sh
./deploy/all.sh

# Manually deploy ingresses for instances
kubectl --namespace tfs-parent apply -f ofc23/tfs-ingress-parent.yaml
kubectl --namespace tfs-child apply -f ofc23/tfs-ingress-child.yaml
+14 −0
Original line number Diff line number Diff line
# 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.
+24 −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-dom1 tfs-dom2 tfs-dom3 tfs-dom4 tfs-bchain

# 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
Loading