summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/__init__.py
AgeCommit message (Collapse)Author
2023-08-25T4825: Add interface type vethViacheslav Hletenko
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 vyos@r1:~$ ping 10.0.0.10 count 1 PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. 64 bytes from 10.0.0.10: icmp_seq=1 ttl=64 time=0.082 ms
2022-01-06op-mode: T4142: Fix for show input ifbX interfacesViacheslav
Ability to see interface type "input" ifbX from op-mode (cherry picked from commit 5fdf4e5988344f7a890fe351183b58b8e21699c2)
2021-07-27Revert "ifconfig: drop unused classes for pppoe and vti"Christian Poessinger
This reverts commit e4d697b1d3aad0cb8e81f4c36bcaa4c089195f43. We need those classes for the operational level "show interfaces" command.
2021-07-25ifconfig: backport ifconfig framework from 1.4 to support new tunnel optionsChristian Poessinger
It is easier to backport the entire vyos.ifconfig library from 1.4 instead of backporting single pieces which are required to add new feature to the tunnel interface section. In addition that both libraries are now back in sync it will become much easier to backport any other new feature introduced in VyOS 1.4!
2021-07-25ifconfig: drop unused classes for pppoe and vtiChristian Poessinger
PPPoE uses an entire different approach to setup the interface and VTI is still implemented using the old node.def definitions from vyatta-cfg-system.
2021-06-13wwan: T3620: rename "wirelessmodem wlm" interfaces to new wwan interface treeChristian Poessinger
(cherry picked from commit c2a1c071e7d0a9ca754d7f5016eed7db188b3d1a)
2020-08-23Revert "ifconfig: T2653: drop unused vyos.ifconfig.pppoe"Christian Poessinger
This reverts commit 5a5974d5a00b482cabd3dee92bc365d3c9f399bc. Required for operational mode "show interfaces" command.
2020-08-22ifconfig: T2653: drop unused vyos.ifconfig.pppoeChristian Poessinger
2020-08-13ifconfig: dhcp: fix ModuleNotFoundError: No module named 'vyos.ifconfig.dhcp'Christian Poessinger
Commit 21bc98f1 ("ifconfig: dhcp: T2767: client must not start when interface is disabled") dropped the vyos.ifconfig.dhcp module but not removed it from the modules import list.
2020-06-15vti: T2576: show interfaces missed VTIThomas Mangin
2020-05-21ifconfig: T2023: add initial MACsec abstractionChristian Poessinger
2020-04-14ifconfig: T2223: group all operational commandsThomas Mangin
All operational command are moved within an Operational class and an inherited on for wireguard.
2020-04-11ifconfig: T2223: rename Register to SectionThomas Mangin
While the class does indeed all the registration, it work is really to map classes to interface section. ie: interface ethernet -> EthernetIf Therefore it can also list which interface are from which type, therefore the name change. Other function name will also be renamed as a consequence
2020-04-02ifconfig: l2tpv3: T1823: add missing import statementChristian Poessinger
Import statement has been forgotton on the ifconfig file split.
2020-03-24ifconfig: T2057: convert STP to adapterThomas Mangin
2020-03-24ifconfig: T2057: convert VLAN to adapterThomas Mangin
2020-03-24ifconfig: T2057: add PPPoEIf classThomas Mangin
2020-03-24ifconfig: T2057: add VTunIf classThomas Mangin
2020-03-22ifconfig: T2151: add WiFiIf interface representation classChristian Poessinger
This class is required as wireless interfaces are created using iw instead of ip from iproute2.
2020-03-22tunnel: T2028: move interface tunnel to XML/PythonThomas Mangin
This patch migrates the "interface tunnel" section to xml/python
2020-03-06ifconfig: T2104: splt ifconfig.py into multiple filesThomas Mangin