<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/interfaces-virtual-ethernet.py, branch feature/T9082-codeql-cpp</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in
</content>
</entry>
<entry>
<title>T4825: Verify if you are trying to add a new vethX to exists pair</title>
<updated>2022-12-02T14:16:18+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-12-02T14:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=94f345340f69333dbb06fcf5f59caa8176ebecc6'/>
<id>urn:sha1:94f345340f69333dbb06fcf5f59caa8176ebecc6</id>
<content type='text'>
Verify if you are trying to add a new vethX to exists pair:

  set int virtual-ethernet veth0 peer-name 'veth1'
  set int virtual-ethernet veth1 peer-name 'veth0'
  set int virtual-ethernet veth12 peer-name 'veth0'

Verify veth-name and peer-name cannot be the same:

  set interfaces virtual-ethernet veth0 peer-name veth0
</content>
</entry>
<entry>
<title>T4825: Verify if veth interface not used in conf before deleting</title>
<updated>2022-11-25T17:13:24+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-11-25T17:13:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ad8f5762234d6b482b40b574d97fc51f6557daff'/>
<id>urn:sha1:ad8f5762234d6b482b40b574d97fc51f6557daff</id>
<content type='text'>
Prevent to delete interface "vethX" which used for another
interface as "vethY peer-name vethX"

set interfaces virtual-ethernet veth0 peer-name 'veth1'
set interfaces virtual-ethernet veth1 peer-name 'veth0'
commit
delete interfaces virtual-ethernet veth0
commit
</content>
</entry>
<entry>
<title>veth: T4825: minor improvements on XML peer-name handling</title>
<updated>2022-11-24T19:35:31+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-11-24T19:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f9a5286f163b27b51eb5e9a801c5d646c07a7990'/>
<id>urn:sha1:f9a5286f163b27b51eb5e9a801c5d646c07a7990</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T4825: Add interface type veth</title>
<updated>2022-11-24T16:06:38+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-11-20T13:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=48ab6413cedb71934118143a7e095e946ac38bb7'/>
<id>urn:sha1:48ab6413cedb71934118143a7e095e946ac38bb7</id>
<content type='text'>
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
</content>
</entry>
</feed>
