Skip to content

Commit

Permalink
snabb-softwire-v3: external-interface/device -> external-device
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Nov 8, 2021
1 parent eff1a9a commit 1f8ee81
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/lib/yang/snabb-softwire-v3.yang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module snabb-softwire-v3 {
"Change module+namespace to v3. Update organization and contact.
Fix mistakes in leaf descriptions.
Add default value for error-rate-limiting/packets.
Allow more than two queues (lift id leaf range restriction).";
Allow more than two queues (lift id leaf range restriction).
Move leaf external-interface/device up as external-device.";
}

revision 2019-09-17 {
Expand Down Expand Up @@ -575,12 +576,20 @@ module snabb-softwire-v3 {
type string;
description
"The PCI device the instance should use during lwAFTR operation. If
device is configured in on-a-stick mode, the 'external-interface'
device should not be configured. If 'external-interface' is
device is configured in on-a-stick mode, 'external-device'
should not be configured. If 'external-device' is
specified this option should specify the PCI device of the
'internal-interface' (IPv6 traffic only).";
}

leaf external-device {
type string;
description
"PCI device the instance should use for the 'external-interface'
(IPv4 traffic only). If this is left unspecified the lwAFTR
configures itself in on-a-stick mode.";
}

list queue {
description "List of Receive-Side Scaling (RSS) queues.";
key "id";
Expand All @@ -606,13 +615,6 @@ module snabb-softwire-v3 {
when generating error messages and responding to ICMP echo
requests.";
}
leaf device {
description
"PCI device of the instance used for external IPv4 traffic. If this
is left unspecified the lwAFTR configures itself in on-a-stick
mode.";
type string;
}
leaf mac {
type yang:mac-address;
mandatory true;
Expand Down

0 comments on commit 1f8ee81

Please sign in to comment.