summaryrefslogtreecommitdiffstats
path: root/test-suites/short-smoke/network-veth.yaml
blob: c07e2ebd9389be809e03faa7ca9d5672fbfbdf2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
metadata:
  format: Lava-Test Test Definition 1.0
  name: veth
  description: "Virtual network card installation"
run:
  steps:
    - echo 'DefaultAutoConnectTechnologies=""' >> /etc/connman/main.conf
    - systemctl restart connman.service
    - sleep 2
    - 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