Skip to content
Snippets Groups Projects
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
Branches feat/hackfest5
No related tags found
1 merge request!298Resolve "Merge Hackfest 5 in `develop` and related code fixes"
...@@ -69,6 +69,26 @@ docker import ~/tfs-ctrl/hackfest5/images/arista/cEOS64-lab-4.32.2F.tar ceos:4.3 ...@@ -69,6 +69,26 @@ docker import ~/tfs-ctrl/hackfest5/images/arista/cEOS64-lab-4.32.2F.tar ceos:4.3
## TeraFlowSDN Commands ## 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 ### Re-Deploy TeraFlowSDN
```bash ```bash
~/tfs-ctrl/hackfest5/redeploy-tfs.sh ~/tfs-ctrl/hackfest5/redeploy-tfs.sh
......
...@@ -38,10 +38,12 @@ topology: ...@@ -38,10 +38,12 @@ topology:
r1: r1:
kind: arista_ceos kind: arista_ceos
mgmt-ipv4: 172.20.20.101 mgmt-ipv4: 172.20.20.101
startup-config: r1-startup.cfg
r2: r2:
kind: arista_ceos kind: arista_ceos
mgmt-ipv4: 172.20.20.102 mgmt-ipv4: 172.20.20.102
startup-config: r2-startup.cfg
dc1: dc1:
kind: linux kind: linux
......
! 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
! 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
...@@ -18,7 +18,7 @@ source ~/tfs-ctrl/hackfest5/deploy_specs.sh ...@@ -18,7 +18,7 @@ source ~/tfs-ctrl/hackfest5/deploy_specs.sh
echo "Cleaning-up old NATS and Kafka deployments..." echo "Cleaning-up old NATS and Kafka deployments..."
helm3 uninstall --namespace ${NATS_NAMESPACE} ${NATS_NAMESPACE} helm3 uninstall --namespace ${NATS_NAMESPACE} ${NATS_NAMESPACE}
kubectl delete namespace ${NATS_NAMESPACE} --ignore-not-found 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" printf "\n"
echo "Deployting TeraFlowSDN..." echo "Deployting TeraFlowSDN..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment