e2e

package
v0.0.0-...-3196f8b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

e2e

This document show how to setup or reset the everoute e2e environment.

setup environment

requirement
  • At least one linux virtual machine for e2e environment.
  • Openvswitch should be installed for every agent node.
step
  1. Clone everoute into you e2e test environment.
  2. Enter folder everoute, run the following script to setup e2e environment.
# APISERVER_EXPOSE_IP should be the ip address everoute-agent can connection with.
APISERVER_EXPOSE_IP=""
# EVEROUTE_AGENT_HOSTLIST is a list of everoute-agent, multiple everoute-agent should write as "192.168.1.1,192.168.1.2"
EVEROUTE_AGENT_HOSTLIST=""
# UPLINK_IFACE is the interface name for everoute-agent uplink port, default ens11.
UPLINK_IFACE=""
# PLATFORM is the system platform, default amd64
PLATFORM=""

bash -x tests/e2e/scripts/e2e-setup.sh ${APISERVER_EXPOSE_IP} ${EVEROUTE_AGENT_HOSTLIST} ${UPLINK_IFACE} ${PLATFORM}

reset environment

Run the following script to reset e2e environment.

bash -x tests/e2e/scripts/e2e-reset.sh ${EVEROUTE_AGENT_HOSTLIST}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cases contain e2e cases for verification everoute security function.
Package cases contain e2e cases for verification everoute security function.
tools

Jump to

Keyboard shortcuts

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