summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-25Merge pull request #29 from natali-rs1985/T7181-stati+dynamicViacheslav Hletenko
T7181: VPP Static and dynamic NAT
2025-04-25T7181: VPP Static and dynamic NATNataliia Solomko
New CLI for static and dynamic NAT: ``` set vpp nat44 interface outside <interface> # multi set vpp nat44 interface inside <interface> # multi set vpp nat44 address-pool translation interface <interface> # multi set vpp nat44 address-pool translation address <address> # multi set vpp nat44 address-pool twice-nat interface <interface> # multi set vpp nat44 address-pool twice-nat address <address> # multi set vpp nat44 static rule <rule> external address <address> set vpp nat44 static rule <rule> external port <port> set vpp nat44 static rule <rule> local address <address> set vpp nat44 static rule <rule> local port <port> set vpp nat44 static rule <rule> protocol <protocol> set vpp nat44 static rule <rule> options twice-nat set vpp nat44 static rule <rule> options self-twice-nat set vpp nat44 static rule <rule> options out-to-in-only set vpp nat44 static rule <rule> options twice-nat-address <address> set vpp nat44 exclude rule <rule> protocol <protocol> set vpp nat44 exclude rule <rule> local-port <port> set vpp nat44 exclude rule <rule> local-address <address> set vpp nat44 exclude rule <rule> external-interface <interface> ``` Settings: ``` set vpp settings nat44 session-limit <limit> # default 64512 set vpp settings nat44 timeout udp <sec> # default 300 set vpp settings nat44 timeout tcp-established <sec> # default 7440 set vpp settings nat44 timeout tcp-transitory <sec> # default 240 set vpp settings nat44 timeout icmp <sec> # default 60 set vpp settings nat44 workers <list> set vpp settings nat44 no-forwarding ```
2025-04-08T7315: Change CLI fot VPP NAT (#25)Nataliia S.
New CLI ``` set vpp nat44 static rule 10 outside-interface 'eth0' set vpp nat44 static rule 10 inside-interface 'eth1' set vpp nat44 static rule 10 external address 192.168.122.10 set vpp nat44 static rule 10 external port 6545 # optional set vpp nat44 static rule 10 protocol tcp|udp|icmp|all # optional, defaults to "all" set vpp nat44 static rule 10 local address 100.64.0.10 set vpp nat44 static rule 10 local port 64010 # optional ```
2025-04-01T7283: VPP add static NAT support (#24)Nataliia S.
* T7283: VPP add static NAT support Add static mapping NAT implementation ``` set vpp nat44 static rule 10 outbound-interface 'eth0' set vpp nat44 static rule 10 inbound-interface 'eth1' set vpp nat44 static rule 10 destination address 192.168.122.10 # optional, if not set outbound interface ip address is used set vpp nat44 static rule 10 destination port 6545 # optional set vpp nat44 static rule 10 protocol tcp|udp|icmp|all # optional, defaults to "all" set vpp nat44 static rule 10 translation address 100.64.0.10 set vpp nat44 static rule 10 translation port 64010 # optional ``` * Improve help strings (Daniil Baturin) --------- Co-authored-by: Daniil Baturin <daniil@baturin.org>
2025-03-20Merge pull request #23 from natali-rs1985/T7189Daniil Baturin
T7189: VPP source of the tunnel interface should be checked and configured
2025-03-18Merge pull request #16 from sever-sever/T7181Daniil Baturin
T7181: VPP add initial source NAT implentation
2025-03-12T7189: VPP source of the tunnel interface should be checked and configuredNataliia Solomko
Changed priority for VPP interfaces: all VPP interfaces must be configured after Ethernet interfaces
2025-02-28Merge pull request #21 from HollyGurza/T7200Viacheslav Hletenko
T7200: Reduce memory size usage for vpp smoke tests
2025-02-27Merge pull request #22 from sever-sever/T7202Daniil Baturin
T7202: VPP allow to bridge bonding interfaces
2025-02-27T7202: VPP allow to bridge bonding interfacesViacheslav Hletenko
Allow to bridge bonding interfaces: ``` set vpp interfaces bonding bond0 member interface 'eth1' set vpp interfaces bridge br10 member interface bond0 ```
2025-02-26Merge pull request #18 from sever-sever/VD-275Viacheslav Hletenko
vd-275: Add loopback bvi interface for a bridge member
2025-02-26T7200: Reduce memory size usage for vpp smoke testskhramshinr
add more memory validation
2025-02-26vd-275: Add loopback bvi interface for a bridge memberViacheslav Hletenko
Allow to configure VPP loopback interface as BVI interface In the VPP a bridge-domain is the L2 bridge and does not have its own interface Loopback is required if we want to ping from/to the bridge. ``` set vpp interfaces bridge br10 member interface lo23 bvi ```
2025-02-25Merge pull request #19 from sever-sever/VD-279Daniil Baturin
VD-279: Use common IPv6 naming for CLI
2025-02-25VD-279: Use common IPv6 naming for CLIViacheslav Hletenko
Rename node `ip6` to common `ipv6` for vpp settings
2025-02-24skip bonding smoketest as ci stucks on itViacheslav Hletenko
Skip the bonding test as CI stucks on it But this test works fine in the local VM
2025-02-22smoketest: Add XFRM IPsec testViacheslav Hletenko
2025-02-22smoketest: Add required addresses before setup tunnelsViacheslav Hletenko
Add required IP addresses on the interface eth1 which is a source of a tunnel
2025-02-22Merge pull request #17 from HollyGurza/T7073Viacheslav Hletenko
T7073: Verify VPP buffers page size
2025-02-21T7073: Verify VPP buffers page sizekhramshinr
T7077: Verify VPP memory default-hugepage-size T7079: Verify VPP memory main-heap-page-size T7080: Verify VPP statseg page-size get available hugepage sizes align memory main-heap-size by page size validate host_resources max_map_count
2025-02-20Merge pull request #14 from natali-rs1985/T7074Viacheslav Hletenko
T7074: VPP add check for interface RX mode changes
2025-02-20T7181: VPP add initial source NAT implentationViacheslav Hletenko
Add initial source NAT implementation ``` set vpp nat44 source inbound-interface 'eth2' set vpp nat44 source outbound-interface 'eth1' set vpp nat44 source translation address '192.0.2.1-192.0.2.2' ``` Add initial simple implementation of the source NAT In the future, we'll extend it to the rules if it is possible to do via VPP API
2025-02-18Merge pull request #15 from sever-sever/T7168Daniil Baturin
T7168: Add IPsec XFRM netlink plugin and CLI
2025-02-18Merge pull request #11 from HollyGurza/T7068Daniil Baturin
vpp: T7068: Add range validation for unix poll-sleep-usec
2025-02-18vpp: T7068: Add range validation for unix poll-sleep-useckhramshinr
2025-02-17Merge pull request #12 from natali-rs1985/T7067Viacheslav Hletenko
T7067: VPP CPU corelist-workers should be calculated and verified
2025-02-17T7168: Add IPsec XFRM netlink plugin and CLIViacheslav Hletenko
Add linux-xfrm-nl plugin Add configuration commands for VPP IPsec ``` set vpp settings ipsec interface-type 'ipsec' set vpp settings ipsec netlink batch-delay-ms '250' set vpp settings ipsec netlink batch-size '150' set vpp settings ipsec netlink rx-buffer-size '1024' ```
2025-02-14T7074: VPP add check for interface RX mode changesNataliia Solomko
2025-02-14T7067: VPP CPU corelist-workers should be calculated and verifiedNataliia Solomko
2025-02-12Merge pull request #10 from natali-rs1985/T7071Daniil Baturin
T7071: VPP CPU inverted range of corelist-workers has to be verified and not applied
2025-02-12Merge pull request #9 from natali-rs1985/T7072Daniil Baturin
T7072: VPP CPU skip-cores should be verified
2025-02-12T7071: VPP CPU inverted range of corelist-workers has to be verified and not ↵Nataliia Solomko
applied
2025-02-12T7072: VPP CPU skip-cores should be verifiedNataliia Solomko
2025-02-06Merge pull request #8 from natali-rs1985/T7069Viacheslav Hletenko
T7069: VPP check for CPU main core
2025-02-05smoketest: T6989: adjust to new syslog CLI syntaxChristian Breunig
2025-02-05T7069: VPP check for CPU main coreNataliia Solomko
2025-02-04Merge pull request #7 from natali-rs1985/T7075Viacheslav Hletenko
T7075: VPP check driver's options before apply
2025-02-04Merge branch 'current' into T7075Nataliia S.
2025-02-04T7075: VPP check driver's options before applyNataliia Solomko
2025-02-03Merge pull request #5 from natali-rs1985/T7066Viacheslav Hletenko
T7066: VPP CPU workers verification
2025-02-03Merge pull request #6 from natali-rs1985/T7076Viacheslav Hletenko
T7076: VPP check ethernet interface exist
2025-02-03T7066: VPP CPU workers should be calculated and verifiedNataliia Solomko
2025-02-03smoketest: add vpp config load testsViacheslav Hletenko
2025-02-01smoketest: temporary skip bonding testsViacheslav Hletenko
Skip bonding test to check the building, from time to time tests (bond) got recursion as in https://vyos.dev/T7117
2025-01-31Move CODEOWNERS ti github dirViacheslav Hletenko
2025-01-31Set priority 308 for kernet-interfacesViacheslav Hletenko
2025-01-31T7076: VPP add check for interface to xmlNataliia Solomko
2025-01-30smoketest: fix delete bonding before checking bond delete ifaceViacheslav Hletenko
2025-01-29Revert "warning: introduce a delay between add() and kernel_add()"Viacheslav Hletenko
This reverts commit 405d3ee7ac909bbf458f522e6539a1f4eacdf7e6.
2025-01-29Use lcp_nl_resync instead of lcp_resync for control_vpp.pyViacheslav Hletenko
Use lcp_nl_resync (available with patch 04) 0004-Improved-lcp-resync.patch It improves sync speed and should fix or smoketest issues related to connecting to VPP API speed