test: update cases to use new infix-if-types

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-08-22 13:32:47 +02:00
committed by Tobias Waldekranz
parent 3a56cbe1d4
commit fcb629f08f
11 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ with infamy.Test() as test:
"interfaces": {
"interface": [{
"name": f"{interface_name}",
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"ipv4": {
"address": [{
"ip": f"{new_ip_address}",
+2 -2
View File
@@ -24,7 +24,7 @@ def config_target(target, tport0, tport1, enable_fwd):
"interface": [
{
"name": tport0,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"ipv4": {
"forwarding": enable_fwd,
@@ -36,7 +36,7 @@ def config_target(target, tport0, tport1, enable_fwd):
},
{
"name": tport1,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"ipv4": {
"forwarding": enable_fwd,
+2 -2
View File
@@ -15,12 +15,12 @@ with infamy.Test() as test:
"interface": [
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
},
{
"name": f"{tport}.10",
"type": "iana-if-type:l2vlan",
"type": "infix-if-type:vlan",
"parent-interface": tport,
"encapsulation": {
"dot1q-vlan": {
+2 -2
View File
@@ -20,7 +20,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"ipv4": {
"address": [
@@ -33,7 +33,7 @@ with infamy.Test() as test:
},
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0"
@@ -36,7 +36,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"bridge": {
"vlans": {
@@ -52,7 +52,7 @@ with infamy.Test() as test:
},
{
"name": tport10,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -61,7 +61,7 @@ with infamy.Test() as test:
},
{
"name": tport11,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -70,7 +70,7 @@ with infamy.Test() as test:
},
{
"name": tport12,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0",
@@ -85,7 +85,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"bridge": {
"vlans": {
@@ -101,7 +101,7 @@ with infamy.Test() as test:
},
{
"name": tport20,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -110,7 +110,7 @@ with infamy.Test() as test:
},
{
"name": tport21,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -119,7 +119,7 @@ with infamy.Test() as test:
},
{
"name": tport22,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0",
@@ -31,12 +31,12 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
},
{
"name": tport0,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0"
@@ -44,7 +44,7 @@ with infamy.Test() as test:
},
{
"name": tport1,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0"
+2 -2
View File
@@ -20,12 +20,12 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
},
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0"
+3 -3
View File
@@ -22,7 +22,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"bridge": {
"vlans": {
@@ -39,7 +39,7 @@ with infamy.Test() as test:
},
{
"name": "vlan10",
"type": "iana-if-type:l2vlan",
"type": "infix-if-type:vlan",
"enabled": True,
"parent-interface": "br0",
"encapsulation": {
@@ -61,7 +61,7 @@ with infamy.Test() as test:
},
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -36,7 +36,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"bridge": {
"vlans": {
@@ -57,7 +57,7 @@ with infamy.Test() as test:
},
{
"name": tport10,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -66,7 +66,7 @@ with infamy.Test() as test:
},
{
"name": tport11,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 20,
@@ -75,7 +75,7 @@ with infamy.Test() as test:
},
{
"name": tport12,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0",
@@ -90,7 +90,7 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"bridge": {
"vlans": {
@@ -111,7 +111,7 @@ with infamy.Test() as test:
},
{
"name": tport20,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 10,
@@ -120,7 +120,7 @@ with infamy.Test() as test:
},
{
"name": tport21,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"pvid": 20,
@@ -129,7 +129,7 @@ with infamy.Test() as test:
},
{
"name": tport22,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0",
+3 -3
View File
@@ -20,12 +20,12 @@ with infamy.Test() as test:
"interface": [
{
"name": "br0",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
},
{
"name": "br1",
"type": "iana-if-type:bridge",
"type": "infix-if-type:bridge",
"enabled": True,
"ipv4": {
"address": [
@@ -60,7 +60,7 @@ with infamy.Test() as test:
},
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"infix-interfaces:bridge-port": {
"bridge": "br0"
+1 -1
View File
@@ -18,7 +18,7 @@ with infamy.Test() as test:
"interface": [
{
"name": tport,
"type": "iana-if-type:ethernetCsmacd",
"type": "infix-if-type:ethernet",
"enabled": True,
"ipv4": {
"autoconf": {