Skip to content

Commit

Permalink
Enable testing creation of VPC peering in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Sep 30, 2023
1 parent 0c66ee8 commit 940a9ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions hack/vlab-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ function control {
bin/hhfab vlab ssh --vm control-1 PATH=/opt/bin "$@"
}

control kubectl fabric vpc create --name vpc-1 --subnet 10.90.0.1/24
control kubectl fabric vpc create --name vpc-1 --subnet 10.90.1.1/24
control kubectl fabric vpc create --name vpc-2 --subnet 10.90.2.1/24

control kubectl fabric vpc attach --vpc vpc-1 --conn server-1--mclag--switch-1--switch-2
control kubectl fabric vpc attach --vpc vpc-1 --conn server-2--mclag--switch-1--switch-2
control kubectl fabric vpc attach --vpc vpc-2 --conn server-2--mclag--switch-1--switch-2

control kubectl fabric vpc peer --vpc vpc-1 --vpc vpc-2

control kubectl get agent -o wide
control kubectl get agent -o wide
control kubectl wait --for=condition=Applied agent/switch-1 agent/switch-2 --timeout=600s
2 changes: 1 addition & 1 deletion pkg/fab/assemly.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var (
}

// Fabric
REF_FABRIC_VERSION = cnc.Ref{Tag: "v0.17.1"}
REF_FABRIC_VERSION = cnc.Ref{Tag: "v0.17.2"}
REF_FABRIC_API_CHART = cnc.Ref{Name: "fabric/charts/fabric-api"}
REF_FABRIC_CHART = cnc.Ref{Name: "fabric/charts/fabric"}
REF_FABRIC_IMAGE = cnc.Ref{Name: "fabric/fabric"}
Expand Down

0 comments on commit 940a9ff

Please sign in to comment.