bridge-domain/

directory
v0.0.0-...-8742d31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2020 License: Apache-2.0

README

VPP bridge domain

This example implements a setup where the NS Endpoint is an Ethernet learning bridge, with a simple IPAM.

    +--------+
    | Client +-------+
    +--------+       |       +----------------+
                     |       |                |
                     +------->                |
    +--------+               |    learning    |
    | Client +--------------->                |
    +--------+               |     bridge     |
                     +------->                |
                     |       |  10.60.1.0/24  |
    +--------+       |       +----------------+
    | Client +-------+
    +--------+

Usage ipv4;

# Start the bridge and the test app;
kubectl apply -f ./k8s/bridge.yaml
kubectl get pods -l networkservicemesh.io/app=bridge-domain
kubectl apply -f ./k8s/simple-client.yaml
kubectl get pods -l networkservicemesh.io/app=simple-client
# (wait until all simple-clients are running and ready (3/3))

# Test;
p=<select-a-simple-client-pod>
kubectl exec -n default -it -c alpine-img $p sh
# Inside the container;
ifconfig
ping 10.60.1.1
ping 10.60.1.2
ping 10.60.1.3

Usage ipv6;

# Start the bridge and the test app;
kubectl apply -f ./k8s/bridge-ipv6.yaml
kubectl get pods -l networkservicemesh.io/app=bridge-domain-ipv6
kubectl apply -f ./k8s/simple-client-ipv6.yaml
kubectl get pods -l networkservicemesh.io/app=simple-client-ipv6
# (wait until all simple-clients are running and ready (3/3))

# Test;
p=<select-a-simple-client-pod>
kubectl exec -n default -it -c alpine-img $p sh
# Inside the container;
ifconfig
ping 1200::1
ping 1200::2
ping 1200::3

Directories

Path Synopsis
bridge
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL