Commit c4ae0978 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Hackfest 5:

- Updated redeploy-tfs script
- Updated CLab descriptor
- Updated commands in README
parent e10bd367
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -69,6 +69,26 @@ docker import ~/tfs-ctrl/hackfest5/images/arista/cEOS64-lab-4.32.2F.tar ceos:4.3

## TeraFlowSDN Commands

### Check status of MicroK8s
```bash
microk8s.status --wait-ready
```

### Start MicroK8s
```bash
microk8s.start
```

### Periodically report status of MicroK8s every second
```bash
watch -n 1 microk8s.status --wait-ready
```

### Periodically report status of workload in MicroK8s every second
```bash
watch -n 1 kubectl get all --all-namespaces
```

### Re-Deploy TeraFlowSDN
```bash
~/tfs-ctrl/hackfest5/redeploy-tfs.sh
+2 −0
Original line number Diff line number Diff line
@@ -38,10 +38,12 @@ topology:
    r1:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.101
      startup-config: r1-startup.cfg

    r2:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.102
      startup-config: r2-startup.cfg

    dc1:
      kind: linux
+39 −0
Original line number Diff line number Diff line
! device: r1 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$tUMBMqI5iPca5XcJ$5QU/R83S.zjpHQyeB3H63BGWOgxewjqZ1NsxdaWPo3gLwRXVTrgYvMmwwZlzjYoqrD7yp7e9YD073/.FKLYEY1
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname r1
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
management api http-commands
   no shutdown
!
management api gnmi
   transport grpc default
!
management api netconf
   transport ssh default
!
interface Ethernet2
!
interface Ethernet10
!
interface Management0
   ip address 172.20.20.101/24
!
ip routing
!
ip route 0.0.0.0/0 172.20.20.1
!
end
+39 −0
Original line number Diff line number Diff line
! device: r2 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$Z/om4jI3S5BmwxfB$igaSOaJnh3m36TbSMHKCusA77m07CU8JJxalupXIUFuy7HaGt6k.C1kfSJsPqjn1AhLaL.LvLkt/hcqTFgpjG.
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname r2
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
management api http-commands
   no shutdown
!
management api gnmi
   transport grpc default
!
management api netconf
   transport ssh default
!
interface Ethernet1
!
interface Ethernet10
!
interface Management0
   ip address 172.20.20.102/24
!
ip routing
!
ip route 0.0.0.0/0 172.20.20.1
!
end
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ source ~/tfs-ctrl/hackfest5/deploy_specs.sh
echo "Cleaning-up old NATS and Kafka deployments..."
helm3 uninstall --namespace ${NATS_NAMESPACE} ${NATS_NAMESPACE}
kubectl delete namespace ${NATS_NAMESPACE} --ignore-not-found
kubectl delete namespace ${KFK_NAMESPACE} --ignore-not-found
kubectl delete namespace kafka --ignore-not-found
printf "\n"

echo "Deployting TeraFlowSDN..."