Commit 4ce70daf authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

DataPlane-in-a-box:

- Simplified scenario to 2 devices
- Disabled monitoring and service monitors in TFS deploy specs
parent 01019ca8
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -41,11 +41,6 @@ topology:
      mgmt-ipv4: 172.20.20.102
      ports: [6002:6030]

    wan3:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.103
      ports: [6003:6030]

    dc1:
      kind: linux
      mgmt-ipv4: 172.20.20.201
@@ -65,7 +60,8 @@ topology:
        - ip route add 192.168.1.0/24 via 192.168.2.1

  links:
    - endpoints: ["wan1:eth2", "wan2:eth1"]
    - endpoints: ["wan2:eth3", "wan3:eth2"]
    - endpoints: ["wan1:eth1", "wan2:eth1"]
    - endpoints: ["wan1:eth2", "wan2:eth2"]
    - endpoints: ["wan1:eth3", "wan2:eth3"]
    - endpoints: ["wan1:eth10", "dc1:eth1"]
    - endpoints: ["wan3:eth10", "dc2:eth1"]
    - endpoints: ["wan2:eth10", "dc2:eth1"]
+0 −3
Original line number Diff line number Diff line
#!/bin/bash

docker exec -it clab-arista-wan2 Cli
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
export TFS_COMPONENTS="context device pathcomp service slice nbi webui"

# Uncomment to activate Monitoring
export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
#export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"

# Uncomment to activate ZTP
#export TFS_COMPONENTS="${TFS_COMPONENTS} ztp"
@@ -54,7 +54,7 @@ export TFS_K8S_NAMESPACE="tfs"
export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml"

# Uncomment to monitor performance of components
export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/servicemonitors.yaml"
#export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/servicemonitors.yaml"

# Uncomment when deploying Optical CyberSecurity
#export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/cachingservice.yaml"
+37 −0
Original line number Diff line number Diff line
# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (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.

enable
configure
ip routing

interface Ethernet1
  no switchport
  ip address 10.1.2.1/30
exit

interface Loopback0
  ip address 10.0.0.1/32
exit

interface Ethernet10
  no switchport
  ip address 192.168.1.1/24
exit

router bgp 65001
  router-id 10.0.0.1
  neighbor 10.1.2.2 remote-as 65001
  network 192.168.1.0/24
exit
+37 −0
Original line number Diff line number Diff line
# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (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.

enable
configure
ip routing

interface Ethernet1
  no switchport
  ip address 10.1.2.2/30
exit

interface Loopback0
  ip address 10.0.0.2/32
exit

interface Ethernet10
  no switchport
  ip address 192.168.2.1/24
exit

router bgp 65001
  router-id 10.0.0.2
  neighbor 10.1.2.1 remote-as 65001
  network 192.168.2.0/24
exit
Loading