summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/__init__.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-11-20 13:35:24 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-11-24 16:06:38 +0000
commit48ab6413cedb71934118143a7e095e946ac38bb7 (patch)
tree49bc86211827f52f83b1d9a0c9554c50406394b9 /python/vyos/ifconfig/__init__.py
parentb7e203d168d5549b2e5c7d0f7168317744c1d71e (diff)
downloadvyos-1x-48ab6413cedb71934118143a7e095e946ac38bb7.tar.gz
vyos-1x-48ab6413cedb71934118143a7e095e946ac38bb7.zip
T4825: Add interface type veth
Add interface type veth (Virtual ethernet) One of the usecases it's interconnect different vrf's and default vrf via bridge set interfaces virtual-ethernet veth0 peer-name 'veth1010' set interfaces virtual-ethernet veth1010 address '10.0.0.10/24' set interfaces virtual-ethernet veth1010 peer-name 'veth0' set interfaces virtual-ethernet veth1010 vrf 'foo' set interfaces bridge br0 address '10.0.0.1/24' set interfaces bridge br0 member interface veth0
Diffstat (limited to 'python/vyos/ifconfig/__init__.py')
-rw-r--r--python/vyos/ifconfig/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/__init__.py b/python/vyos/ifconfig/__init__.py
index a37615c8f..d1ddaa13e 100644
--- a/python/vyos/ifconfig/__init__.py
+++ b/python/vyos/ifconfig/__init__.py
@@ -36,4 +36,5 @@ from vyos.ifconfig.tunnel import TunnelIf
from vyos.ifconfig.wireless import WiFiIf
from vyos.ifconfig.l2tpv3 import L2TPv3If
from vyos.ifconfig.macsec import MACsecIf
+from vyos.ifconfig.veth import VethIf
from vyos.ifconfig.wwan import WWANIf