summaryrefslogtreecommitdiffstats
path: root/test-suites/short-smoke/network-veth.yaml
blob: 4416ff739a9e0328d3a3337aeba912ba8c8f93a8 (plain)
1
2
3
4
5
6
7
8
9
10
metadata:
  format: Lava-Test Test Definition 1.0
  name: veth
  description: "Virtual network card installation"
run:
  steps:
    - ip link add veth0 type veth peer name veth1
    - sleep 2
    - ip addr add 10.1.0.1/24 dev veth0
    - ip addr add 10.1.0.2/24 dev veth1