diff --git a/Dockerfile b/Dockerfile index dc92d6ed..8d2157fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG VPP_VERSION=v22.06 +ARG VPP_VERSION=v22.10-rc2 ARG UBUNTU_VERSION=20.04 ARG GOVPP_VERSION=v0.3.5 diff --git a/binapi/abf/abf.ba.go b/binapi/abf/abf.ba.go index 20ee7bd4..2ffccaa6 100644 --- a/binapi/abf/abf.ba.go +++ b/binapi/abf/abf.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/abf.api.json // Package abf contains generated bindings for API file abf.api. diff --git a/binapi/acl/acl.ba.go b/binapi/acl/acl.ba.go index e36d0f66..141fc01f 100644 --- a/binapi/acl/acl.ba.go +++ b/binapi/acl/acl.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/acl.api.json // Package acl contains generated bindings for API file acl.api. diff --git a/binapi/acl_types/acl_types.ba.go b/binapi/acl_types/acl_types.ba.go index 2e416417..49b8b8ae 100644 --- a/binapi/acl_types/acl_types.ba.go +++ b/binapi/acl_types/acl_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/acl_types.api.json // Package acl_types contains generated bindings for API file acl_types.api. diff --git a/binapi/adl/adl.ba.go b/binapi/adl/adl.ba.go index 4ab9ed31..6f76c391 100644 --- a/binapi/adl/adl.ba.go +++ b/binapi/adl/adl.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/adl.api.json // Package adl contains generated bindings for API file adl.api. diff --git a/binapi/af_packet/af_packet.ba.go b/binapi/af_packet/af_packet.ba.go index 0aa0f730..af9b8c25 100644 --- a/binapi/af_packet/af_packet.ba.go +++ b/binapi/af_packet/af_packet.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/af_packet.api.json // Package af_packet contains generated bindings for API file af_packet.api. diff --git a/binapi/af_xdp/af_xdp.ba.go b/binapi/af_xdp/af_xdp.ba.go index 77d0d0b7..774f1b53 100644 --- a/binapi/af_xdp/af_xdp.ba.go +++ b/binapi/af_xdp/af_xdp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/af_xdp.api.json // Package af_xdp contains generated bindings for API file af_xdp.api. diff --git a/binapi/arp/arp.ba.go b/binapi/arp/arp.ba.go index adb10d3d..40747696 100644 --- a/binapi/arp/arp.ba.go +++ b/binapi/arp/arp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/arp.api.json // Package arp contains generated bindings for API file arp.api. diff --git a/binapi/arping/arping.ba.go b/binapi/arping/arping.ba.go index 7d092222..ad91d735 100644 --- a/binapi/arping/arping.ba.go +++ b/binapi/arping/arping.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/arping.api.json // Package arping contains generated bindings for API file arping.api. diff --git a/binapi/avf/avf.ba.go b/binapi/avf/avf.ba.go index 0e8a6f92..ebd5fad4 100644 --- a/binapi/avf/avf.ba.go +++ b/binapi/avf/avf.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/avf.api.json // Package avf contains generated bindings for API file avf.api. diff --git a/binapi/bfd/bfd.ba.go b/binapi/bfd/bfd.ba.go index 72bac9b9..35e0c12e 100644 --- a/binapi/bfd/bfd.ba.go +++ b/binapi/bfd/bfd.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/bfd.api.json // Package bfd contains generated bindings for API file bfd.api. diff --git a/binapi/bier/bier.ba.go b/binapi/bier/bier.ba.go index fa385c31..13188ba5 100644 --- a/binapi/bier/bier.ba.go +++ b/binapi/bier/bier.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/bier.api.json // Package bier contains generated bindings for API file bier.api. diff --git a/binapi/bond/bond.ba.go b/binapi/bond/bond.ba.go index baf65055..0d27e5ea 100644 --- a/binapi/bond/bond.ba.go +++ b/binapi/bond/bond.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/bond.api.json // Package bond contains generated bindings for API file bond.api. diff --git a/binapi/builtinurl/builtinurl.ba.go b/binapi/builtinurl/builtinurl.ba.go index fc6498e0..44b29d10 100644 --- a/binapi/builtinurl/builtinurl.ba.go +++ b/binapi/builtinurl/builtinurl.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/builtinurl.api.json // Package builtinurl contains generated bindings for API file builtinurl.api. diff --git a/binapi/capo/capo.ba.go b/binapi/capo/capo.ba.go index 5848b8b5..8fd48522 100644 --- a/binapi/capo/capo.ba.go +++ b/binapi/capo/capo.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06-rc0~147-ge81e78f81 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/capo.api.json // Package capo contains generated bindings for API file capo.api. diff --git a/binapi/cdp/cdp.ba.go b/binapi/cdp/cdp.ba.go index 374f1a52..1ea77fe8 100644 --- a/binapi/cdp/cdp.ba.go +++ b/binapi/cdp/cdp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/cdp.api.json // Package cdp contains generated bindings for API file cdp.api. diff --git a/binapi/classify/classify.ba.go b/binapi/classify/classify.ba.go index 214accda..b6708a32 100644 --- a/binapi/classify/classify.ba.go +++ b/binapi/classify/classify.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/classify.api.json // Package classify contains generated bindings for API file classify.api. diff --git a/binapi/cnat/cnat.ba.go b/binapi/cnat/cnat.ba.go index 36e2a70f..2159733b 100644 --- a/binapi/cnat/cnat.ba.go +++ b/binapi/cnat/cnat.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/cnat.api.json // Package cnat contains generated bindings for API file cnat.api. diff --git a/binapi/crypto/crypto.ba.go b/binapi/crypto/crypto.ba.go index 61b7740b..c5c2a22c 100644 --- a/binapi/crypto/crypto.ba.go +++ b/binapi/crypto/crypto.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/crypto.api.json // Package crypto contains generated bindings for API file crypto.api. diff --git a/binapi/crypto_sw_scheduler/crypto_sw_scheduler.ba.go b/binapi/crypto_sw_scheduler/crypto_sw_scheduler.ba.go index 8d8a6a19..340b6351 100644 --- a/binapi/crypto_sw_scheduler/crypto_sw_scheduler.ba.go +++ b/binapi/crypto_sw_scheduler/crypto_sw_scheduler.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/crypto_sw_scheduler.api.json // Package crypto_sw_scheduler contains generated bindings for API file crypto_sw_scheduler.api. diff --git a/binapi/ct6/ct6.ba.go b/binapi/ct6/ct6.ba.go index 4cb97c54..40273b69 100644 --- a/binapi/ct6/ct6.ba.go +++ b/binapi/ct6/ct6.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ct6.api.json // Package ct6 contains generated bindings for API file ct6.api. diff --git a/binapi/det44/det44.ba.go b/binapi/det44/det44.ba.go index abb6f346..cd9074de 100644 --- a/binapi/det44/det44.ba.go +++ b/binapi/det44/det44.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/det44.api.json // Package det44 contains generated bindings for API file det44.api. diff --git a/binapi/dhcp/dhcp.ba.go b/binapi/dhcp/dhcp.ba.go index b0c4e0f2..9e0e5f56 100644 --- a/binapi/dhcp/dhcp.ba.go +++ b/binapi/dhcp/dhcp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/dhcp.api.json // Package dhcp contains generated bindings for API file dhcp.api. diff --git a/binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp.ba.go b/binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp.ba.go index d95e4442..c78432a5 100644 --- a/binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp.ba.go +++ b/binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/dhcp6_ia_na_client_cp.api.json // Package dhcp6_ia_na_client_cp contains generated bindings for API file dhcp6_ia_na_client_cp.api. diff --git a/binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp.ba.go b/binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp.ba.go index f3a4cf11..9499b309 100644 --- a/binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp.ba.go +++ b/binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/dhcp6_pd_client_cp.api.json // Package dhcp6_pd_client_cp contains generated bindings for API file dhcp6_pd_client_cp.api. diff --git a/binapi/dns/dns.ba.go b/binapi/dns/dns.ba.go index 2d80700a..f9bc15be 100644 --- a/binapi/dns/dns.ba.go +++ b/binapi/dns/dns.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/dns.api.json // Package dns contains generated bindings for API file dns.api. diff --git a/binapi/dslite/dslite.ba.go b/binapi/dslite/dslite.ba.go index df3d7fd6..e248b051 100644 --- a/binapi/dslite/dslite.ba.go +++ b/binapi/dslite/dslite.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/dslite.api.json // Package dslite contains generated bindings for API file dslite.api. diff --git a/binapi/ethernet_types/ethernet_types.ba.go b/binapi/ethernet_types/ethernet_types.ba.go index a9d704ed..69485d20 100644 --- a/binapi/ethernet_types/ethernet_types.ba.go +++ b/binapi/ethernet_types/ethernet_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ethernet_types.api.json // Package ethernet_types contains generated bindings for API file ethernet_types.api. diff --git a/binapi/feature/feature.ba.go b/binapi/feature/feature.ba.go index aada6561..077514c9 100644 --- a/binapi/feature/feature.ba.go +++ b/binapi/feature/feature.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/feature.api.json // Package feature contains generated bindings for API file feature.api. diff --git a/binapi/fib/fib.ba.go b/binapi/fib/fib.ba.go index b8c692d6..11f8c2e2 100644 --- a/binapi/fib/fib.ba.go +++ b/binapi/fib/fib.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/fib.api.json // Package fib contains generated bindings for API file fib.api. diff --git a/binapi/fib_types/fib_types.ba.go b/binapi/fib_types/fib_types.ba.go index 14ccf56d..ff3ba8a7 100644 --- a/binapi/fib_types/fib_types.ba.go +++ b/binapi/fib_types/fib_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/fib_types.api.json // Package fib_types contains generated bindings for API file fib_types.api. diff --git a/binapi/flow/flow.ba.go b/binapi/flow/flow.ba.go index 8892492d..cbb9e859 100644 --- a/binapi/flow/flow.ba.go +++ b/binapi/flow/flow.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/flow.api.json // Package flow contains generated bindings for API file flow.api. diff --git a/binapi/flow_types/flow_types.ba.go b/binapi/flow_types/flow_types.ba.go index 38712705..376a8148 100644 --- a/binapi/flow_types/flow_types.ba.go +++ b/binapi/flow_types/flow_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/flow_types.api.json // Package flow_types contains generated bindings for API file flow_types.api. diff --git a/binapi/flowprobe/flowprobe.ba.go b/binapi/flowprobe/flowprobe.ba.go index a6537540..6429324c 100644 --- a/binapi/flowprobe/flowprobe.ba.go +++ b/binapi/flowprobe/flowprobe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/flowprobe.api.json // Package flowprobe contains generated bindings for API file flowprobe.api. diff --git a/binapi/geneve/geneve.ba.go b/binapi/geneve/geneve.ba.go index 76378d58..40d8ab09 100644 --- a/binapi/geneve/geneve.ba.go +++ b/binapi/geneve/geneve.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/geneve.api.json // Package geneve contains generated bindings for API file geneve.api. diff --git a/binapi/gre/gre.ba.go b/binapi/gre/gre.ba.go index d32bf771..686efa45 100644 --- a/binapi/gre/gre.ba.go +++ b/binapi/gre/gre.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/gre.api.json // Package gre contains generated bindings for API file gre.api. diff --git a/binapi/gso/gso.ba.go b/binapi/gso/gso.ba.go index 2f28aca7..5c0383e0 100644 --- a/binapi/gso/gso.ba.go +++ b/binapi/gso/gso.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/gso.api.json // Package gso contains generated bindings for API file gso.api. diff --git a/binapi/gtpu/gtpu.ba.go b/binapi/gtpu/gtpu.ba.go index 6cf90636..a7851d83 100644 --- a/binapi/gtpu/gtpu.ba.go +++ b/binapi/gtpu/gtpu.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/gtpu.api.json // Package gtpu contains generated bindings for API file gtpu.api. diff --git a/binapi/http_static/http_static.ba.go b/binapi/http_static/http_static.ba.go index 530fc8d2..266efec5 100644 --- a/binapi/http_static/http_static.ba.go +++ b/binapi/http_static/http_static.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/http_static.api.json // Package http_static contains generated bindings for API file http_static.api. diff --git a/binapi/igmp/igmp.ba.go b/binapi/igmp/igmp.ba.go index e09f65d1..822dd3e5 100644 --- a/binapi/igmp/igmp.ba.go +++ b/binapi/igmp/igmp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/igmp.api.json // Package igmp contains generated bindings for API file igmp.api. diff --git a/binapi/ikev2/ikev2.ba.go b/binapi/ikev2/ikev2.ba.go index edad4112..c9e33523 100644 --- a/binapi/ikev2/ikev2.ba.go +++ b/binapi/ikev2/ikev2.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ikev2.api.json // Package ikev2 contains generated bindings for API file ikev2.api. diff --git a/binapi/ikev2_types/ikev2_types.ba.go b/binapi/ikev2_types/ikev2_types.ba.go index 4f5572ab..497c4dfe 100644 --- a/binapi/ikev2_types/ikev2_types.ba.go +++ b/binapi/ikev2_types/ikev2_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ikev2_types.api.json // Package ikev2_types contains generated bindings for API file ikev2_types.api. diff --git a/binapi/interface/interface.ba.go b/binapi/interface/interface.ba.go index b21d7c80..a65798f4 100644 --- a/binapi/interface/interface.ba.go +++ b/binapi/interface/interface.ba.go @@ -1,13 +1,13 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/interface.api.json // Package interfaces contains generated bindings for API file interface.api. // // Contents: -// 66 messages +// 68 messages // package interfaces @@ -28,7 +28,7 @@ const _ = api.GoVppAPIPackageIsVersion2 const ( APIFile = "interface" APIVersion = "3.2.3" - VersionCrc = 0x13ab947a + VersionCrc = 0xddff3487 ) // CollectDetailedInterfaceStats defines message 'collect_detailed_interface_stats'. @@ -545,6 +545,84 @@ func (m *DeleteSubifReply) Unmarshal(b []byte) error { return nil } +// GetBuffersStats defines message 'get_buffers_stats'. +type GetBuffersStats struct { + BufferIndex uint32 `binapi:"u32,name=buffer_index" json:"buffer_index,omitempty"` +} + +func (m *GetBuffersStats) Reset() { *m = GetBuffersStats{} } +func (*GetBuffersStats) GetMessageName() string { return "get_buffers_stats" } +func (*GetBuffersStats) GetCrcString() string { return "d698f87e" } +func (*GetBuffersStats) GetMessageType() api.MessageType { + return api.RequestMessage +} + +func (m *GetBuffersStats) Size() (size int) { + if m == nil { + return 0 + } + size += 4 // m.BufferIndex + return size +} +func (m *GetBuffersStats) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeUint32(m.BufferIndex) + return buf.Bytes(), nil +} +func (m *GetBuffersStats) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.BufferIndex = buf.DecodeUint32() + return nil +} + +// GetBuffersStatsReply defines message 'get_buffers_stats_reply'. +type GetBuffersStatsReply struct { + Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` + AvailableBuffers uint32 `binapi:"u32,name=available_buffers" json:"available_buffers,omitempty"` + CachedBuffers uint32 `binapi:"u32,name=cached_buffers" json:"cached_buffers,omitempty"` + UsedBuffers uint32 `binapi:"u32,name=used_buffers" json:"used_buffers,omitempty"` +} + +func (m *GetBuffersStatsReply) Reset() { *m = GetBuffersStatsReply{} } +func (*GetBuffersStatsReply) GetMessageName() string { return "get_buffers_stats_reply" } +func (*GetBuffersStatsReply) GetCrcString() string { return "22c0649d" } +func (*GetBuffersStatsReply) GetMessageType() api.MessageType { + return api.ReplyMessage +} + +func (m *GetBuffersStatsReply) Size() (size int) { + if m == nil { + return 0 + } + size += 4 // m.Retval + size += 4 // m.AvailableBuffers + size += 4 // m.CachedBuffers + size += 4 // m.UsedBuffers + return size +} +func (m *GetBuffersStatsReply) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeInt32(m.Retval) + buf.EncodeUint32(m.AvailableBuffers) + buf.EncodeUint32(m.CachedBuffers) + buf.EncodeUint32(m.UsedBuffers) + return buf.Bytes(), nil +} +func (m *GetBuffersStatsReply) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.Retval = buf.DecodeInt32() + m.AvailableBuffers = buf.DecodeUint32() + m.CachedBuffers = buf.DecodeUint32() + m.UsedBuffers = buf.DecodeUint32() + return nil +} + // HwInterfaceSetMtu defines message 'hw_interface_set_mtu'. type HwInterfaceSetMtu struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` @@ -2629,6 +2707,8 @@ func file_interfaces_binapi_init() { api.RegisterMessage((*DeleteLoopbackReply)(nil), "delete_loopback_reply_e8d4e804") api.RegisterMessage((*DeleteSubif)(nil), "delete_subif_f9e6675e") api.RegisterMessage((*DeleteSubifReply)(nil), "delete_subif_reply_e8d4e804") + api.RegisterMessage((*GetBuffersStats)(nil), "get_buffers_stats_d698f87e") + api.RegisterMessage((*GetBuffersStatsReply)(nil), "get_buffers_stats_reply_22c0649d") api.RegisterMessage((*HwInterfaceSetMtu)(nil), "hw_interface_set_mtu_e6746899") api.RegisterMessage((*HwInterfaceSetMtuReply)(nil), "hw_interface_set_mtu_reply_e8d4e804") api.RegisterMessage((*InterfaceNameRenumber)(nil), "interface_name_renumber_2b8858b8") @@ -2700,6 +2780,8 @@ func AllMessages() []api.Message { (*DeleteLoopbackReply)(nil), (*DeleteSubif)(nil), (*DeleteSubifReply)(nil), + (*GetBuffersStats)(nil), + (*GetBuffersStatsReply)(nil), (*HwInterfaceSetMtu)(nil), (*HwInterfaceSetMtuReply)(nil), (*InterfaceNameRenumber)(nil), diff --git a/binapi/interface/interface_rpc.ba.go b/binapi/interface/interface_rpc.ba.go index fead6d44..1105f65a 100644 --- a/binapi/interface/interface_rpc.ba.go +++ b/binapi/interface/interface_rpc.ba.go @@ -20,6 +20,7 @@ type RPCService interface { CreateVlanSubif(ctx context.Context, in *CreateVlanSubif) (*CreateVlanSubifReply, error) DeleteLoopback(ctx context.Context, in *DeleteLoopback) (*DeleteLoopbackReply, error) DeleteSubif(ctx context.Context, in *DeleteSubif) (*DeleteSubifReply, error) + GetBuffersStats(ctx context.Context, in *GetBuffersStats) (*GetBuffersStatsReply, error) HwInterfaceSetMtu(ctx context.Context, in *HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error) InterfaceNameRenumber(ctx context.Context, in *InterfaceNameRenumber) (*InterfaceNameRenumberReply, error) SwInterfaceAddDelAddress(ctx context.Context, in *SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error) @@ -118,6 +119,15 @@ func (c *serviceClient) DeleteSubif(ctx context.Context, in *DeleteSubif) (*Dele return out, api.RetvalToVPPApiError(out.Retval) } +func (c *serviceClient) GetBuffersStats(ctx context.Context, in *GetBuffersStats) (*GetBuffersStatsReply, error) { + out := new(GetBuffersStatsReply) + err := c.conn.Invoke(ctx, in, out) + if err != nil { + return nil, err + } + return out, api.RetvalToVPPApiError(out.Retval) +} + func (c *serviceClient) HwInterfaceSetMtu(ctx context.Context, in *HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error) { out := new(HwInterfaceSetMtuReply) err := c.conn.Invoke(ctx, in, out) diff --git a/binapi/interface_types/interface_types.ba.go b/binapi/interface_types/interface_types.ba.go index 65339cca..c2f003d3 100644 --- a/binapi/interface_types/interface_types.ba.go +++ b/binapi/interface_types/interface_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/interface_types.api.json // Package interface_types contains generated bindings for API file interface_types.api. diff --git a/binapi/ioam_cache/ioam_cache.ba.go b/binapi/ioam_cache/ioam_cache.ba.go index fa97498f..20b0c5fa 100644 --- a/binapi/ioam_cache/ioam_cache.ba.go +++ b/binapi/ioam_cache/ioam_cache.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ioam_cache.api.json // Package ioam_cache contains generated bindings for API file ioam_cache.api. diff --git a/binapi/ioam_export/ioam_export.ba.go b/binapi/ioam_export/ioam_export.ba.go index 3440c378..59280401 100644 --- a/binapi/ioam_export/ioam_export.ba.go +++ b/binapi/ioam_export/ioam_export.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ioam_export.api.json // Package ioam_export contains generated bindings for API file ioam_export.api. diff --git a/binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go b/binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go index 95cce483..5f0210ea 100644 --- a/binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go +++ b/binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/ioam_vxlan_gpe.api.json // Package ioam_vxlan_gpe contains generated bindings for API file ioam_vxlan_gpe.api. diff --git a/binapi/ip/ip.ba.go b/binapi/ip/ip.ba.go index 28eb4e50..5c367ccc 100644 --- a/binapi/ip/ip.ba.go +++ b/binapi/ip/ip.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ip.api.json // Package ip contains generated bindings for API file ip.api. diff --git a/binapi/ip6_nd/ip6_nd.ba.go b/binapi/ip6_nd/ip6_nd.ba.go index 4f925134..03ae7463 100644 --- a/binapi/ip6_nd/ip6_nd.ba.go +++ b/binapi/ip6_nd/ip6_nd.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ip6_nd.api.json // Package ip6_nd contains generated bindings for API file ip6_nd.api. diff --git a/binapi/ip_neighbor/ip_neighbor.ba.go b/binapi/ip_neighbor/ip_neighbor.ba.go index 5a0109ca..8ace85ac 100644 --- a/binapi/ip_neighbor/ip_neighbor.ba.go +++ b/binapi/ip_neighbor/ip_neighbor.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ip_neighbor.api.json // Package ip_neighbor contains generated bindings for API file ip_neighbor.api. diff --git a/binapi/ip_types/ip_types.ba.go b/binapi/ip_types/ip_types.ba.go index f46c274f..a4db6e02 100644 --- a/binapi/ip_types/ip_types.ba.go +++ b/binapi/ip_types/ip_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ip_types.api.json // Package ip_types contains generated bindings for API file ip_types.api. diff --git a/binapi/ipfix_export/ipfix_export.ba.go b/binapi/ipfix_export/ipfix_export.ba.go index 193ff8ee..c1695795 100644 --- a/binapi/ipfix_export/ipfix_export.ba.go +++ b/binapi/ipfix_export/ipfix_export.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ipfix_export.api.json // Package ipfix_export contains generated bindings for API file ipfix_export.api. diff --git a/binapi/ipip/ipip.ba.go b/binapi/ipip/ipip.ba.go index e7b59fa1..c2edc9c1 100644 --- a/binapi/ipip/ipip.ba.go +++ b/binapi/ipip/ipip.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ipip.api.json // Package ipip contains generated bindings for API file ipip.api. diff --git a/binapi/ipsec/ipsec.ba.go b/binapi/ipsec/ipsec.ba.go index 3fe3042c..46f25f4f 100644 --- a/binapi/ipsec/ipsec.ba.go +++ b/binapi/ipsec/ipsec.ba.go @@ -1,21 +1,18 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ipsec.api.json // Package ipsec contains generated bindings for API file ipsec.api. // // Contents: -// 1 enum -// 3 structs -// 46 messages +// 2 structs +// 48 messages // package ipsec import ( - "strconv" - api "git.fd.io/govpp.git/api" codec "git.fd.io/govpp.git/codec" interface_types "github.com/edwarnicke/govpp/binapi/interface_types" @@ -33,42 +30,9 @@ const _ = api.GoVppAPIPackageIsVersion2 const ( APIFile = "ipsec" APIVersion = "5.0.2" - VersionCrc = 0x6b08e91e -) - -// IpsecSpdAction defines enum 'ipsec_spd_action'. -type IpsecSpdAction uint32 - -const ( - IPSEC_API_SPD_ACTION_BYPASS IpsecSpdAction = 0 - IPSEC_API_SPD_ACTION_DISCARD IpsecSpdAction = 1 - IPSEC_API_SPD_ACTION_RESOLVE IpsecSpdAction = 2 - IPSEC_API_SPD_ACTION_PROTECT IpsecSpdAction = 3 -) - -var ( - IpsecSpdAction_name = map[uint32]string{ - 0: "IPSEC_API_SPD_ACTION_BYPASS", - 1: "IPSEC_API_SPD_ACTION_DISCARD", - 2: "IPSEC_API_SPD_ACTION_RESOLVE", - 3: "IPSEC_API_SPD_ACTION_PROTECT", - } - IpsecSpdAction_value = map[string]uint32{ - "IPSEC_API_SPD_ACTION_BYPASS": 0, - "IPSEC_API_SPD_ACTION_DISCARD": 1, - "IPSEC_API_SPD_ACTION_RESOLVE": 2, - "IPSEC_API_SPD_ACTION_PROTECT": 3, - } + VersionCrc = 0xd8d93805 ) -func (x IpsecSpdAction) String() string { - s, ok := IpsecSpdAction_name[uint32(x)] - if ok { - return s - } - return "IpsecSpdAction(" + strconv.Itoa(int(x)) + ")" -} - // IpsecItf defines type 'ipsec_itf'. type IpsecItf struct { UserInstance uint32 `binapi:"u32,name=user_instance,default=4294967295" json:"user_instance,omitempty"` @@ -76,24 +40,6 @@ type IpsecItf struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` } -// IpsecSpdEntry defines type 'ipsec_spd_entry'. -type IpsecSpdEntry struct { - SpdID uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"` - Priority int32 `binapi:"i32,name=priority" json:"priority,omitempty"` - IsOutbound bool `binapi:"bool,name=is_outbound" json:"is_outbound,omitempty"` - SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"` - Policy IpsecSpdAction `binapi:"ipsec_spd_action,name=policy" json:"policy,omitempty"` - Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"` - RemoteAddressStart ip_types.Address `binapi:"address,name=remote_address_start" json:"remote_address_start,omitempty"` - RemoteAddressStop ip_types.Address `binapi:"address,name=remote_address_stop" json:"remote_address_stop,omitempty"` - LocalAddressStart ip_types.Address `binapi:"address,name=local_address_start" json:"local_address_start,omitempty"` - LocalAddressStop ip_types.Address `binapi:"address,name=local_address_stop" json:"local_address_stop,omitempty"` - RemotePortStart uint16 `binapi:"u16,name=remote_port_start" json:"remote_port_start,omitempty"` - RemotePortStop uint16 `binapi:"u16,name=remote_port_stop" json:"remote_port_stop,omitempty"` - LocalPortStart uint16 `binapi:"u16,name=local_port_start" json:"local_port_start,omitempty"` - LocalPortStop uint16 `binapi:"u16,name=local_port_stop" json:"local_port_stop,omitempty"` -} - // IpsecTunnelProtect defines type 'ipsec_tunnel_protect'. type IpsecTunnelProtect struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` @@ -1747,7 +1693,7 @@ func (m *IpsecSpdAddDelReply) Unmarshal(b []byte) error { // IpsecSpdDetails defines message 'ipsec_spd_details'. type IpsecSpdDetails struct { - Entry IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"` + Entry ipsec_types.IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"` } func (m *IpsecSpdDetails) Reset() { *m = IpsecSpdDetails{} } @@ -1812,7 +1758,7 @@ func (m *IpsecSpdDetails) Unmarshal(b []byte) error { m.Entry.Priority = buf.DecodeInt32() m.Entry.IsOutbound = buf.DecodeBool() m.Entry.SaID = buf.DecodeUint32() - m.Entry.Policy = IpsecSpdAction(buf.DecodeUint32()) + m.Entry.Policy = ipsec_types.IpsecSpdAction(buf.DecodeUint32()) m.Entry.Protocol = buf.DecodeUint8() m.Entry.RemoteAddressStart.Af = ip_types.AddressFamily(buf.DecodeUint8()) copy(m.Entry.RemoteAddressStart.Un.XXX_UnionData[:], buf.DecodeBytes(16)) @@ -1867,9 +1813,10 @@ func (m *IpsecSpdDump) Unmarshal(b []byte) error { } // IpsecSpdEntryAddDel defines message 'ipsec_spd_entry_add_del'. +// Deprecated: the message will be removed in the future versions type IpsecSpdEntryAddDel struct { - IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` - Entry IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"` + IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` + Entry ipsec_types.IpsecSpdEntry `binapi:"ipsec_spd_entry,name=entry" json:"entry,omitempty"` } func (m *IpsecSpdEntryAddDel) Reset() { *m = IpsecSpdEntryAddDel{} } @@ -1937,7 +1884,7 @@ func (m *IpsecSpdEntryAddDel) Unmarshal(b []byte) error { m.Entry.Priority = buf.DecodeInt32() m.Entry.IsOutbound = buf.DecodeBool() m.Entry.SaID = buf.DecodeUint32() - m.Entry.Policy = IpsecSpdAction(buf.DecodeUint32()) + m.Entry.Policy = ipsec_types.IpsecSpdAction(buf.DecodeUint32()) m.Entry.Protocol = buf.DecodeUint8() m.Entry.RemoteAddressStart.Af = ip_types.AddressFamily(buf.DecodeUint8()) copy(m.Entry.RemoteAddressStart.Un.XXX_UnionData[:], buf.DecodeBytes(16)) @@ -1991,6 +1938,131 @@ func (m *IpsecSpdEntryAddDelReply) Unmarshal(b []byte) error { return nil } +// IpsecSpdEntryAddDelV2 defines message 'ipsec_spd_entry_add_del_v2'. +type IpsecSpdEntryAddDelV2 struct { + IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` + Entry ipsec_types.IpsecSpdEntryV2 `binapi:"ipsec_spd_entry_v2,name=entry" json:"entry,omitempty"` +} + +func (m *IpsecSpdEntryAddDelV2) Reset() { *m = IpsecSpdEntryAddDelV2{} } +func (*IpsecSpdEntryAddDelV2) GetMessageName() string { return "ipsec_spd_entry_add_del_v2" } +func (*IpsecSpdEntryAddDelV2) GetCrcString() string { return "7bfe69fc" } +func (*IpsecSpdEntryAddDelV2) GetMessageType() api.MessageType { + return api.RequestMessage +} + +func (m *IpsecSpdEntryAddDelV2) Size() (size int) { + if m == nil { + return 0 + } + size += 1 // m.IsAdd + size += 4 // m.Entry.SpdID + size += 4 // m.Entry.Priority + size += 1 // m.Entry.IsOutbound + size += 4 // m.Entry.SaID + size += 4 // m.Entry.Policy + size += 1 // m.Entry.Protocol + size += 1 // m.Entry.RemoteAddressStart.Af + size += 1 * 16 // m.Entry.RemoteAddressStart.Un + size += 1 // m.Entry.RemoteAddressStop.Af + size += 1 * 16 // m.Entry.RemoteAddressStop.Un + size += 1 // m.Entry.LocalAddressStart.Af + size += 1 * 16 // m.Entry.LocalAddressStart.Un + size += 1 // m.Entry.LocalAddressStop.Af + size += 1 * 16 // m.Entry.LocalAddressStop.Un + size += 2 // m.Entry.RemotePortStart + size += 2 // m.Entry.RemotePortStop + size += 2 // m.Entry.LocalPortStart + size += 2 // m.Entry.LocalPortStop + return size +} +func (m *IpsecSpdEntryAddDelV2) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeBool(m.IsAdd) + buf.EncodeUint32(m.Entry.SpdID) + buf.EncodeInt32(m.Entry.Priority) + buf.EncodeBool(m.Entry.IsOutbound) + buf.EncodeUint32(m.Entry.SaID) + buf.EncodeUint32(uint32(m.Entry.Policy)) + buf.EncodeUint8(m.Entry.Protocol) + buf.EncodeUint8(uint8(m.Entry.RemoteAddressStart.Af)) + buf.EncodeBytes(m.Entry.RemoteAddressStart.Un.XXX_UnionData[:], 16) + buf.EncodeUint8(uint8(m.Entry.RemoteAddressStop.Af)) + buf.EncodeBytes(m.Entry.RemoteAddressStop.Un.XXX_UnionData[:], 16) + buf.EncodeUint8(uint8(m.Entry.LocalAddressStart.Af)) + buf.EncodeBytes(m.Entry.LocalAddressStart.Un.XXX_UnionData[:], 16) + buf.EncodeUint8(uint8(m.Entry.LocalAddressStop.Af)) + buf.EncodeBytes(m.Entry.LocalAddressStop.Un.XXX_UnionData[:], 16) + buf.EncodeUint16(m.Entry.RemotePortStart) + buf.EncodeUint16(m.Entry.RemotePortStop) + buf.EncodeUint16(m.Entry.LocalPortStart) + buf.EncodeUint16(m.Entry.LocalPortStop) + return buf.Bytes(), nil +} +func (m *IpsecSpdEntryAddDelV2) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.IsAdd = buf.DecodeBool() + m.Entry.SpdID = buf.DecodeUint32() + m.Entry.Priority = buf.DecodeInt32() + m.Entry.IsOutbound = buf.DecodeBool() + m.Entry.SaID = buf.DecodeUint32() + m.Entry.Policy = ipsec_types.IpsecSpdAction(buf.DecodeUint32()) + m.Entry.Protocol = buf.DecodeUint8() + m.Entry.RemoteAddressStart.Af = ip_types.AddressFamily(buf.DecodeUint8()) + copy(m.Entry.RemoteAddressStart.Un.XXX_UnionData[:], buf.DecodeBytes(16)) + m.Entry.RemoteAddressStop.Af = ip_types.AddressFamily(buf.DecodeUint8()) + copy(m.Entry.RemoteAddressStop.Un.XXX_UnionData[:], buf.DecodeBytes(16)) + m.Entry.LocalAddressStart.Af = ip_types.AddressFamily(buf.DecodeUint8()) + copy(m.Entry.LocalAddressStart.Un.XXX_UnionData[:], buf.DecodeBytes(16)) + m.Entry.LocalAddressStop.Af = ip_types.AddressFamily(buf.DecodeUint8()) + copy(m.Entry.LocalAddressStop.Un.XXX_UnionData[:], buf.DecodeBytes(16)) + m.Entry.RemotePortStart = buf.DecodeUint16() + m.Entry.RemotePortStop = buf.DecodeUint16() + m.Entry.LocalPortStart = buf.DecodeUint16() + m.Entry.LocalPortStop = buf.DecodeUint16() + return nil +} + +// IpsecSpdEntryAddDelV2Reply defines message 'ipsec_spd_entry_add_del_v2_reply'. +type IpsecSpdEntryAddDelV2Reply struct { + Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` + StatIndex uint32 `binapi:"u32,name=stat_index" json:"stat_index,omitempty"` +} + +func (m *IpsecSpdEntryAddDelV2Reply) Reset() { *m = IpsecSpdEntryAddDelV2Reply{} } +func (*IpsecSpdEntryAddDelV2Reply) GetMessageName() string { return "ipsec_spd_entry_add_del_v2_reply" } +func (*IpsecSpdEntryAddDelV2Reply) GetCrcString() string { return "9ffac24b" } +func (*IpsecSpdEntryAddDelV2Reply) GetMessageType() api.MessageType { + return api.ReplyMessage +} + +func (m *IpsecSpdEntryAddDelV2Reply) Size() (size int) { + if m == nil { + return 0 + } + size += 4 // m.Retval + size += 4 // m.StatIndex + return size +} +func (m *IpsecSpdEntryAddDelV2Reply) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeInt32(m.Retval) + buf.EncodeUint32(m.StatIndex) + return buf.Bytes(), nil +} +func (m *IpsecSpdEntryAddDelV2Reply) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.Retval = buf.DecodeInt32() + m.StatIndex = buf.DecodeUint32() + return nil +} + // IpsecSpdInterfaceDetails defines message 'ipsec_spd_interface_details'. type IpsecSpdInterfaceDetails struct { SpdIndex uint32 `binapi:"u32,name=spd_index" json:"spd_index,omitempty"` @@ -2422,6 +2494,8 @@ func file_ipsec_binapi_init() { api.RegisterMessage((*IpsecSpdDump)(nil), "ipsec_spd_dump_afefbf7d") api.RegisterMessage((*IpsecSpdEntryAddDel)(nil), "ipsec_spd_entry_add_del_338b7411") api.RegisterMessage((*IpsecSpdEntryAddDelReply)(nil), "ipsec_spd_entry_add_del_reply_9ffac24b") + api.RegisterMessage((*IpsecSpdEntryAddDelV2)(nil), "ipsec_spd_entry_add_del_v2_7bfe69fc") + api.RegisterMessage((*IpsecSpdEntryAddDelV2Reply)(nil), "ipsec_spd_entry_add_del_v2_reply_9ffac24b") api.RegisterMessage((*IpsecSpdInterfaceDetails)(nil), "ipsec_spd_interface_details_7a0bcf3e") api.RegisterMessage((*IpsecSpdInterfaceDump)(nil), "ipsec_spd_interface_dump_8971de19") api.RegisterMessage((*IpsecSpdsDetails)(nil), "ipsec_spds_details_a04bb254") @@ -2473,6 +2547,8 @@ func AllMessages() []api.Message { (*IpsecSpdDump)(nil), (*IpsecSpdEntryAddDel)(nil), (*IpsecSpdEntryAddDelReply)(nil), + (*IpsecSpdEntryAddDelV2)(nil), + (*IpsecSpdEntryAddDelV2Reply)(nil), (*IpsecSpdInterfaceDetails)(nil), (*IpsecSpdInterfaceDump)(nil), (*IpsecSpdsDetails)(nil), diff --git a/binapi/ipsec/ipsec_rpc.ba.go b/binapi/ipsec/ipsec_rpc.ba.go index 8d2fcab2..ddf2e369 100644 --- a/binapi/ipsec/ipsec_rpc.ba.go +++ b/binapi/ipsec/ipsec_rpc.ba.go @@ -31,6 +31,7 @@ type RPCService interface { IpsecSpdAddDel(ctx context.Context, in *IpsecSpdAddDel) (*IpsecSpdAddDelReply, error) IpsecSpdDump(ctx context.Context, in *IpsecSpdDump) (RPCService_IpsecSpdDumpClient, error) IpsecSpdEntryAddDel(ctx context.Context, in *IpsecSpdEntryAddDel) (*IpsecSpdEntryAddDelReply, error) + IpsecSpdEntryAddDelV2(ctx context.Context, in *IpsecSpdEntryAddDelV2) (*IpsecSpdEntryAddDelV2Reply, error) IpsecSpdInterfaceDump(ctx context.Context, in *IpsecSpdInterfaceDump) (RPCService_IpsecSpdInterfaceDumpClient, error) IpsecSpdsDump(ctx context.Context, in *IpsecSpdsDump) (RPCService_IpsecSpdsDumpClient, error) IpsecTunnelProtectDel(ctx context.Context, in *IpsecTunnelProtectDel) (*IpsecTunnelProtectDelReply, error) @@ -412,6 +413,15 @@ func (c *serviceClient) IpsecSpdEntryAddDel(ctx context.Context, in *IpsecSpdEnt return out, api.RetvalToVPPApiError(out.Retval) } +func (c *serviceClient) IpsecSpdEntryAddDelV2(ctx context.Context, in *IpsecSpdEntryAddDelV2) (*IpsecSpdEntryAddDelV2Reply, error) { + out := new(IpsecSpdEntryAddDelV2Reply) + err := c.conn.Invoke(ctx, in, out) + if err != nil { + return nil, err + } + return out, api.RetvalToVPPApiError(out.Retval) +} + func (c *serviceClient) IpsecSpdInterfaceDump(ctx context.Context, in *IpsecSpdInterfaceDump) (RPCService_IpsecSpdInterfaceDumpClient, error) { stream, err := c.conn.NewStream(ctx) if err != nil { diff --git a/binapi/ipsec_types/ipsec_types.ba.go b/binapi/ipsec_types/ipsec_types.ba.go index 2b69efd2..b3f610d8 100644 --- a/binapi/ipsec_types/ipsec_types.ba.go +++ b/binapi/ipsec_types/ipsec_types.ba.go @@ -1,14 +1,14 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/ipsec_types.api.json // Package ipsec_types contains generated bindings for API file ipsec_types.api. // // Contents: -// 4 enums -// 4 structs +// 5 enums +// 6 structs // package ipsec_types @@ -31,18 +31,19 @@ const _ = api.GoVppAPIPackageIsVersion2 type IpsecCryptoAlg uint32 const ( - IPSEC_API_CRYPTO_ALG_NONE IpsecCryptoAlg = 0 - IPSEC_API_CRYPTO_ALG_AES_CBC_128 IpsecCryptoAlg = 1 - IPSEC_API_CRYPTO_ALG_AES_CBC_192 IpsecCryptoAlg = 2 - IPSEC_API_CRYPTO_ALG_AES_CBC_256 IpsecCryptoAlg = 3 - IPSEC_API_CRYPTO_ALG_AES_CTR_128 IpsecCryptoAlg = 4 - IPSEC_API_CRYPTO_ALG_AES_CTR_192 IpsecCryptoAlg = 5 - IPSEC_API_CRYPTO_ALG_AES_CTR_256 IpsecCryptoAlg = 6 - IPSEC_API_CRYPTO_ALG_AES_GCM_128 IpsecCryptoAlg = 7 - IPSEC_API_CRYPTO_ALG_AES_GCM_192 IpsecCryptoAlg = 8 - IPSEC_API_CRYPTO_ALG_AES_GCM_256 IpsecCryptoAlg = 9 - IPSEC_API_CRYPTO_ALG_DES_CBC IpsecCryptoAlg = 10 - IPSEC_API_CRYPTO_ALG_3DES_CBC IpsecCryptoAlg = 11 + IPSEC_API_CRYPTO_ALG_NONE IpsecCryptoAlg = 0 + IPSEC_API_CRYPTO_ALG_AES_CBC_128 IpsecCryptoAlg = 1 + IPSEC_API_CRYPTO_ALG_AES_CBC_192 IpsecCryptoAlg = 2 + IPSEC_API_CRYPTO_ALG_AES_CBC_256 IpsecCryptoAlg = 3 + IPSEC_API_CRYPTO_ALG_AES_CTR_128 IpsecCryptoAlg = 4 + IPSEC_API_CRYPTO_ALG_AES_CTR_192 IpsecCryptoAlg = 5 + IPSEC_API_CRYPTO_ALG_AES_CTR_256 IpsecCryptoAlg = 6 + IPSEC_API_CRYPTO_ALG_AES_GCM_128 IpsecCryptoAlg = 7 + IPSEC_API_CRYPTO_ALG_AES_GCM_192 IpsecCryptoAlg = 8 + IPSEC_API_CRYPTO_ALG_AES_GCM_256 IpsecCryptoAlg = 9 + IPSEC_API_CRYPTO_ALG_DES_CBC IpsecCryptoAlg = 10 + IPSEC_API_CRYPTO_ALG_3DES_CBC IpsecCryptoAlg = 11 + IPSEC_API_CRYPTO_ALG_CHACHA20_POLY1305 IpsecCryptoAlg = 12 ) var ( @@ -59,20 +60,22 @@ var ( 9: "IPSEC_API_CRYPTO_ALG_AES_GCM_256", 10: "IPSEC_API_CRYPTO_ALG_DES_CBC", 11: "IPSEC_API_CRYPTO_ALG_3DES_CBC", + 12: "IPSEC_API_CRYPTO_ALG_CHACHA20_POLY1305", } IpsecCryptoAlg_value = map[string]uint32{ - "IPSEC_API_CRYPTO_ALG_NONE": 0, - "IPSEC_API_CRYPTO_ALG_AES_CBC_128": 1, - "IPSEC_API_CRYPTO_ALG_AES_CBC_192": 2, - "IPSEC_API_CRYPTO_ALG_AES_CBC_256": 3, - "IPSEC_API_CRYPTO_ALG_AES_CTR_128": 4, - "IPSEC_API_CRYPTO_ALG_AES_CTR_192": 5, - "IPSEC_API_CRYPTO_ALG_AES_CTR_256": 6, - "IPSEC_API_CRYPTO_ALG_AES_GCM_128": 7, - "IPSEC_API_CRYPTO_ALG_AES_GCM_192": 8, - "IPSEC_API_CRYPTO_ALG_AES_GCM_256": 9, - "IPSEC_API_CRYPTO_ALG_DES_CBC": 10, - "IPSEC_API_CRYPTO_ALG_3DES_CBC": 11, + "IPSEC_API_CRYPTO_ALG_NONE": 0, + "IPSEC_API_CRYPTO_ALG_AES_CBC_128": 1, + "IPSEC_API_CRYPTO_ALG_AES_CBC_192": 2, + "IPSEC_API_CRYPTO_ALG_AES_CBC_256": 3, + "IPSEC_API_CRYPTO_ALG_AES_CTR_128": 4, + "IPSEC_API_CRYPTO_ALG_AES_CTR_192": 5, + "IPSEC_API_CRYPTO_ALG_AES_CTR_256": 6, + "IPSEC_API_CRYPTO_ALG_AES_GCM_128": 7, + "IPSEC_API_CRYPTO_ALG_AES_GCM_192": 8, + "IPSEC_API_CRYPTO_ALG_AES_GCM_256": 9, + "IPSEC_API_CRYPTO_ALG_DES_CBC": 10, + "IPSEC_API_CRYPTO_ALG_3DES_CBC": 11, + "IPSEC_API_CRYPTO_ALG_CHACHA20_POLY1305": 12, } ) @@ -217,6 +220,39 @@ func (x IpsecSadFlags) String() string { return s } +// IpsecSpdAction defines enum 'ipsec_spd_action'. +type IpsecSpdAction uint32 + +const ( + IPSEC_API_SPD_ACTION_BYPASS IpsecSpdAction = 0 + IPSEC_API_SPD_ACTION_DISCARD IpsecSpdAction = 1 + IPSEC_API_SPD_ACTION_RESOLVE IpsecSpdAction = 2 + IPSEC_API_SPD_ACTION_PROTECT IpsecSpdAction = 3 +) + +var ( + IpsecSpdAction_name = map[uint32]string{ + 0: "IPSEC_API_SPD_ACTION_BYPASS", + 1: "IPSEC_API_SPD_ACTION_DISCARD", + 2: "IPSEC_API_SPD_ACTION_RESOLVE", + 3: "IPSEC_API_SPD_ACTION_PROTECT", + } + IpsecSpdAction_value = map[string]uint32{ + "IPSEC_API_SPD_ACTION_BYPASS": 0, + "IPSEC_API_SPD_ACTION_DISCARD": 1, + "IPSEC_API_SPD_ACTION_RESOLVE": 2, + "IPSEC_API_SPD_ACTION_PROTECT": 3, + } +) + +func (x IpsecSpdAction) String() string { + s, ok := IpsecSpdAction_name[uint32(x)] + if ok { + return s + } + return "IpsecSpdAction(" + strconv.Itoa(int(x)) + ")" +} + // IpsecSadEntry defines type 'ipsec_sad_entry'. type IpsecSadEntry struct { SadID uint32 `binapi:"u32,name=sad_id" json:"sad_id,omitempty"` @@ -271,6 +307,42 @@ type IpsecSadEntryV3 struct { UDPDstPort uint16 `binapi:"u16,name=udp_dst_port,default=4500" json:"udp_dst_port,omitempty"` } +// IpsecSpdEntry defines type 'ipsec_spd_entry'. +type IpsecSpdEntry struct { + SpdID uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"` + Priority int32 `binapi:"i32,name=priority" json:"priority,omitempty"` + IsOutbound bool `binapi:"bool,name=is_outbound" json:"is_outbound,omitempty"` + SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"` + Policy IpsecSpdAction `binapi:"ipsec_spd_action,name=policy" json:"policy,omitempty"` + Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"` + RemoteAddressStart ip_types.Address `binapi:"address,name=remote_address_start" json:"remote_address_start,omitempty"` + RemoteAddressStop ip_types.Address `binapi:"address,name=remote_address_stop" json:"remote_address_stop,omitempty"` + LocalAddressStart ip_types.Address `binapi:"address,name=local_address_start" json:"local_address_start,omitempty"` + LocalAddressStop ip_types.Address `binapi:"address,name=local_address_stop" json:"local_address_stop,omitempty"` + RemotePortStart uint16 `binapi:"u16,name=remote_port_start" json:"remote_port_start,omitempty"` + RemotePortStop uint16 `binapi:"u16,name=remote_port_stop" json:"remote_port_stop,omitempty"` + LocalPortStart uint16 `binapi:"u16,name=local_port_start" json:"local_port_start,omitempty"` + LocalPortStop uint16 `binapi:"u16,name=local_port_stop" json:"local_port_stop,omitempty"` +} + +// IpsecSpdEntryV2 defines type 'ipsec_spd_entry_v2'. +type IpsecSpdEntryV2 struct { + SpdID uint32 `binapi:"u32,name=spd_id" json:"spd_id,omitempty"` + Priority int32 `binapi:"i32,name=priority" json:"priority,omitempty"` + IsOutbound bool `binapi:"bool,name=is_outbound" json:"is_outbound,omitempty"` + SaID uint32 `binapi:"u32,name=sa_id" json:"sa_id,omitempty"` + Policy IpsecSpdAction `binapi:"ipsec_spd_action,name=policy" json:"policy,omitempty"` + Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"` + RemoteAddressStart ip_types.Address `binapi:"address,name=remote_address_start" json:"remote_address_start,omitempty"` + RemoteAddressStop ip_types.Address `binapi:"address,name=remote_address_stop" json:"remote_address_stop,omitempty"` + LocalAddressStart ip_types.Address `binapi:"address,name=local_address_start" json:"local_address_start,omitempty"` + LocalAddressStop ip_types.Address `binapi:"address,name=local_address_stop" json:"local_address_stop,omitempty"` + RemotePortStart uint16 `binapi:"u16,name=remote_port_start" json:"remote_port_start,omitempty"` + RemotePortStop uint16 `binapi:"u16,name=remote_port_stop" json:"remote_port_stop,omitempty"` + LocalPortStart uint16 `binapi:"u16,name=local_port_start" json:"local_port_start,omitempty"` + LocalPortStop uint16 `binapi:"u16,name=local_port_stop" json:"local_port_stop,omitempty"` +} + // Key defines type 'key'. type Key struct { Length uint8 `binapi:"u8,name=length" json:"length,omitempty"` diff --git a/binapi/l2/l2.ba.go b/binapi/l2/l2.ba.go index 9715ebd3..f0ffaef2 100644 --- a/binapi/l2/l2.ba.go +++ b/binapi/l2/l2.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/l2.api.json // Package l2 contains generated bindings for API file l2.api. diff --git a/binapi/l2tp/l2tp.ba.go b/binapi/l2tp/l2tp.ba.go index fb6cd544..2a833cb7 100644 --- a/binapi/l2tp/l2tp.ba.go +++ b/binapi/l2tp/l2tp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/l2tp.api.json // Package l2tp contains generated bindings for API file l2tp.api. diff --git a/binapi/l3xc/l3xc.ba.go b/binapi/l3xc/l3xc.ba.go index 5c742276..a2d0f434 100644 --- a/binapi/l3xc/l3xc.ba.go +++ b/binapi/l3xc/l3xc.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/l3xc.api.json // Package l3xc contains generated bindings for API file l3xc.api. diff --git a/binapi/lacp/lacp.ba.go b/binapi/lacp/lacp.ba.go index 40f820a6..9ab4c706 100644 --- a/binapi/lacp/lacp.ba.go +++ b/binapi/lacp/lacp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lacp.api.json // Package lacp contains generated bindings for API file lacp.api. diff --git a/binapi/lb/lb.ba.go b/binapi/lb/lb.ba.go index 484b2fef..9ca48a9d 100644 --- a/binapi/lb/lb.ba.go +++ b/binapi/lb/lb.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lb.api.json // Package lb contains generated bindings for API file lb.api. diff --git a/binapi/lb_types/lb_types.ba.go b/binapi/lb_types/lb_types.ba.go index 0de51e7d..9c06f3b2 100644 --- a/binapi/lb_types/lb_types.ba.go +++ b/binapi/lb_types/lb_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lb_types.api.json // Package lb_types contains generated bindings for API file lb_types.api. diff --git a/binapi/lcp/lcp.ba.go b/binapi/lcp/lcp.ba.go index 5f913eda..90b6351a 100644 --- a/binapi/lcp/lcp.ba.go +++ b/binapi/lcp/lcp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lcp.api.json // Package lcp contains generated bindings for API file lcp.api. @@ -29,7 +29,7 @@ const _ = api.GoVppAPIPackageIsVersion2 const ( APIFile = "lcp" APIVersion = "1.0.0" - VersionCrc = 0xd6fdb642 + VersionCrc = 0x64780a3 ) // LcpItfHostType defines enum 'lcp_itf_host_type'. @@ -87,13 +87,14 @@ func (m *LcpDefaultNsGet) Unmarshal(b []byte) error { } // LcpDefaultNsGetReply defines message 'lcp_default_ns_get_reply'. +// InProgress: the message form may change in the future versions type LcpDefaultNsGetReply struct { - Namespace string `binapi:"string[32],name=namespace" json:"namespace,omitempty"` + Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` } func (m *LcpDefaultNsGetReply) Reset() { *m = LcpDefaultNsGetReply{} } func (*LcpDefaultNsGetReply) GetMessageName() string { return "lcp_default_ns_get_reply" } -func (*LcpDefaultNsGetReply) GetCrcString() string { return "eaeef6d3" } +func (*LcpDefaultNsGetReply) GetCrcString() string { return "5102feee" } func (*LcpDefaultNsGetReply) GetMessageType() api.MessageType { return api.ReplyMessage } @@ -102,7 +103,7 @@ func (m *LcpDefaultNsGetReply) Size() (size int) { if m == nil { return 0 } - size += 32 // m.Namespace + size += 32 // m.Netns return size } func (m *LcpDefaultNsGetReply) Marshal(b []byte) ([]byte, error) { @@ -110,23 +111,24 @@ func (m *LcpDefaultNsGetReply) Marshal(b []byte) ([]byte, error) { b = make([]byte, m.Size()) } buf := codec.NewBuffer(b) - buf.EncodeString(m.Namespace, 32) + buf.EncodeString(m.Netns, 32) return buf.Bytes(), nil } func (m *LcpDefaultNsGetReply) Unmarshal(b []byte) error { buf := codec.NewBuffer(b) - m.Namespace = buf.DecodeString(32) + m.Netns = buf.DecodeString(32) return nil } // LcpDefaultNsSet defines message 'lcp_default_ns_set'. +// InProgress: the message form may change in the future versions type LcpDefaultNsSet struct { - Namespace string `binapi:"string[32],name=namespace" json:"namespace,omitempty"` + Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` } func (m *LcpDefaultNsSet) Reset() { *m = LcpDefaultNsSet{} } func (*LcpDefaultNsSet) GetMessageName() string { return "lcp_default_ns_set" } -func (*LcpDefaultNsSet) GetCrcString() string { return "b561a74a" } +func (*LcpDefaultNsSet) GetCrcString() string { return "69749409" } func (*LcpDefaultNsSet) GetMessageType() api.MessageType { return api.RequestMessage } @@ -135,7 +137,7 @@ func (m *LcpDefaultNsSet) Size() (size int) { if m == nil { return 0 } - size += 32 // m.Namespace + size += 32 // m.Netns return size } func (m *LcpDefaultNsSet) Marshal(b []byte) ([]byte, error) { @@ -143,16 +145,17 @@ func (m *LcpDefaultNsSet) Marshal(b []byte) ([]byte, error) { b = make([]byte, m.Size()) } buf := codec.NewBuffer(b) - buf.EncodeString(m.Namespace, 32) + buf.EncodeString(m.Netns, 32) return buf.Bytes(), nil } func (m *LcpDefaultNsSet) Unmarshal(b []byte) error { buf := codec.NewBuffer(b) - m.Namespace = buf.DecodeString(32) + m.Netns = buf.DecodeString(32) return nil } // LcpDefaultNsSetReply defines message 'lcp_default_ns_set_reply'. +// InProgress: the message form may change in the future versions type LcpDefaultNsSetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` } @@ -186,17 +189,18 @@ func (m *LcpDefaultNsSetReply) Unmarshal(b []byte) error { } // LcpItfPairAddDel defines message 'lcp_itf_pair_add_del'. +// InProgress: the message form may change in the future versions type LcpItfPairAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` - Namespace string `binapi:"string[32],name=namespace" json:"namespace,omitempty"` + Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` } func (m *LcpItfPairAddDel) Reset() { *m = LcpItfPairAddDel{} } func (*LcpItfPairAddDel) GetMessageName() string { return "lcp_itf_pair_add_del" } -func (*LcpItfPairAddDel) GetCrcString() string { return "f3157f59" } +func (*LcpItfPairAddDel) GetCrcString() string { return "40482b80" } func (*LcpItfPairAddDel) GetMessageType() api.MessageType { return api.RequestMessage } @@ -209,7 +213,7 @@ func (m *LcpItfPairAddDel) Size() (size int) { size += 4 // m.SwIfIndex size += 16 // m.HostIfName size += 1 // m.HostIfType - size += 32 // m.Namespace + size += 32 // m.Netns return size } func (m *LcpItfPairAddDel) Marshal(b []byte) ([]byte, error) { @@ -221,7 +225,7 @@ func (m *LcpItfPairAddDel) Marshal(b []byte) ([]byte, error) { buf.EncodeUint32(uint32(m.SwIfIndex)) buf.EncodeString(m.HostIfName, 16) buf.EncodeUint8(uint8(m.HostIfType)) - buf.EncodeString(m.Namespace, 32) + buf.EncodeString(m.Netns, 32) return buf.Bytes(), nil } func (m *LcpItfPairAddDel) Unmarshal(b []byte) error { @@ -230,11 +234,12 @@ func (m *LcpItfPairAddDel) Unmarshal(b []byte) error { m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32()) m.HostIfName = buf.DecodeString(16) m.HostIfType = LcpItfHostType(buf.DecodeUint8()) - m.Namespace = buf.DecodeString(32) + m.Netns = buf.DecodeString(32) return nil } // LcpItfPairAddDelReply defines message 'lcp_itf_pair_add_del_reply'. +// InProgress: the message form may change in the future versions type LcpItfPairAddDelReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` } @@ -268,17 +273,18 @@ func (m *LcpItfPairAddDelReply) Unmarshal(b []byte) error { } // LcpItfPairAddDelV2 defines message 'lcp_itf_pair_add_del_v2'. +// InProgress: the message form may change in the future versions type LcpItfPairAddDelV2 struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` - Namespace string `binapi:"string[32],name=namespace" json:"namespace,omitempty"` + Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` } func (m *LcpItfPairAddDelV2) Reset() { *m = LcpItfPairAddDelV2{} } func (*LcpItfPairAddDelV2) GetMessageName() string { return "lcp_itf_pair_add_del_v2" } -func (*LcpItfPairAddDelV2) GetCrcString() string { return "f3157f59" } +func (*LcpItfPairAddDelV2) GetCrcString() string { return "40482b80" } func (*LcpItfPairAddDelV2) GetMessageType() api.MessageType { return api.RequestMessage } @@ -291,7 +297,7 @@ func (m *LcpItfPairAddDelV2) Size() (size int) { size += 4 // m.SwIfIndex size += 16 // m.HostIfName size += 1 // m.HostIfType - size += 32 // m.Namespace + size += 32 // m.Netns return size } func (m *LcpItfPairAddDelV2) Marshal(b []byte) ([]byte, error) { @@ -303,7 +309,7 @@ func (m *LcpItfPairAddDelV2) Marshal(b []byte) ([]byte, error) { buf.EncodeUint32(uint32(m.SwIfIndex)) buf.EncodeString(m.HostIfName, 16) buf.EncodeUint8(uint8(m.HostIfType)) - buf.EncodeString(m.Namespace, 32) + buf.EncodeString(m.Netns, 32) return buf.Bytes(), nil } func (m *LcpItfPairAddDelV2) Unmarshal(b []byte) error { @@ -312,7 +318,7 @@ func (m *LcpItfPairAddDelV2) Unmarshal(b []byte) error { m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32()) m.HostIfName = buf.DecodeString(16) m.HostIfType = LcpItfHostType(buf.DecodeUint8()) - m.Namespace = buf.DecodeString(32) + m.Netns = buf.DecodeString(32) return nil } @@ -354,18 +360,19 @@ func (m *LcpItfPairAddDelV2Reply) Unmarshal(b []byte) error { } // LcpItfPairDetails defines message 'lcp_itf_pair_details'. +// InProgress: the message form may change in the future versions type LcpItfPairDetails struct { PhySwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=phy_sw_if_index" json:"phy_sw_if_index,omitempty"` HostSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=host_sw_if_index" json:"host_sw_if_index,omitempty"` VifIndex uint32 `binapi:"u32,name=vif_index" json:"vif_index,omitempty"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` - Namespace string `binapi:"string[32],name=namespace" json:"namespace,omitempty"` + Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` } func (m *LcpItfPairDetails) Reset() { *m = LcpItfPairDetails{} } func (*LcpItfPairDetails) GetMessageName() string { return "lcp_itf_pair_details" } -func (*LcpItfPairDetails) GetCrcString() string { return "5a95842f" } +func (*LcpItfPairDetails) GetCrcString() string { return "8b5481af" } func (*LcpItfPairDetails) GetMessageType() api.MessageType { return api.ReplyMessage } @@ -379,7 +386,7 @@ func (m *LcpItfPairDetails) Size() (size int) { size += 4 // m.VifIndex size += 16 // m.HostIfName size += 1 // m.HostIfType - size += 32 // m.Namespace + size += 32 // m.Netns return size } func (m *LcpItfPairDetails) Marshal(b []byte) ([]byte, error) { @@ -392,7 +399,7 @@ func (m *LcpItfPairDetails) Marshal(b []byte) ([]byte, error) { buf.EncodeUint32(m.VifIndex) buf.EncodeString(m.HostIfName, 16) buf.EncodeUint8(uint8(m.HostIfType)) - buf.EncodeString(m.Namespace, 32) + buf.EncodeString(m.Netns, 32) return buf.Bytes(), nil } func (m *LcpItfPairDetails) Unmarshal(b []byte) error { @@ -402,7 +409,7 @@ func (m *LcpItfPairDetails) Unmarshal(b []byte) error { m.VifIndex = buf.DecodeUint32() m.HostIfName = buf.DecodeString(16) m.HostIfType = LcpItfHostType(buf.DecodeUint8()) - m.Namespace = buf.DecodeString(32) + m.Netns = buf.DecodeString(32) return nil } @@ -601,14 +608,14 @@ func (m *LcpItfPairReplaceEndReply) Unmarshal(b []byte) error { func init() { file_lcp_binapi_init() } func file_lcp_binapi_init() { api.RegisterMessage((*LcpDefaultNsGet)(nil), "lcp_default_ns_get_51077d14") - api.RegisterMessage((*LcpDefaultNsGetReply)(nil), "lcp_default_ns_get_reply_eaeef6d3") - api.RegisterMessage((*LcpDefaultNsSet)(nil), "lcp_default_ns_set_b561a74a") + api.RegisterMessage((*LcpDefaultNsGetReply)(nil), "lcp_default_ns_get_reply_5102feee") + api.RegisterMessage((*LcpDefaultNsSet)(nil), "lcp_default_ns_set_69749409") api.RegisterMessage((*LcpDefaultNsSetReply)(nil), "lcp_default_ns_set_reply_e8d4e804") - api.RegisterMessage((*LcpItfPairAddDel)(nil), "lcp_itf_pair_add_del_f3157f59") + api.RegisterMessage((*LcpItfPairAddDel)(nil), "lcp_itf_pair_add_del_40482b80") api.RegisterMessage((*LcpItfPairAddDelReply)(nil), "lcp_itf_pair_add_del_reply_e8d4e804") - api.RegisterMessage((*LcpItfPairAddDelV2)(nil), "lcp_itf_pair_add_del_v2_f3157f59") + api.RegisterMessage((*LcpItfPairAddDelV2)(nil), "lcp_itf_pair_add_del_v2_40482b80") api.RegisterMessage((*LcpItfPairAddDelV2Reply)(nil), "lcp_itf_pair_add_del_v2_reply_39452f52") - api.RegisterMessage((*LcpItfPairDetails)(nil), "lcp_itf_pair_details_5a95842f") + api.RegisterMessage((*LcpItfPairDetails)(nil), "lcp_itf_pair_details_8b5481af") api.RegisterMessage((*LcpItfPairGet)(nil), "lcp_itf_pair_get_f75ba505") api.RegisterMessage((*LcpItfPairGetReply)(nil), "lcp_itf_pair_get_reply_53b48f5d") api.RegisterMessage((*LcpItfPairReplaceBegin)(nil), "lcp_itf_pair_replace_begin_51077d14") diff --git a/binapi/lisp/lisp.ba.go b/binapi/lisp/lisp.ba.go index 4dc626bc..8ef79175 100644 --- a/binapi/lisp/lisp.ba.go +++ b/binapi/lisp/lisp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lisp.api.json // Package lisp contains generated bindings for API file lisp.api. diff --git a/binapi/lisp_gpe/lisp_gpe.ba.go b/binapi/lisp_gpe/lisp_gpe.ba.go index ae65607b..412c920c 100644 --- a/binapi/lisp_gpe/lisp_gpe.ba.go +++ b/binapi/lisp_gpe/lisp_gpe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lisp_gpe.api.json // Package lisp_gpe contains generated bindings for API file lisp_gpe.api. diff --git a/binapi/lisp_types/lisp_types.ba.go b/binapi/lisp_types/lisp_types.ba.go index 2482bcb9..19557a32 100644 --- a/binapi/lisp_types/lisp_types.ba.go +++ b/binapi/lisp_types/lisp_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lisp_types.api.json // Package lisp_types contains generated bindings for API file lisp_types.api. diff --git a/binapi/lldp/lldp.ba.go b/binapi/lldp/lldp.ba.go index 9813da23..d05e7dc7 100644 --- a/binapi/lldp/lldp.ba.go +++ b/binapi/lldp/lldp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/lldp.api.json // Package lldp contains generated bindings for API file lldp.api. diff --git a/binapi/mactime/mactime.ba.go b/binapi/mactime/mactime.ba.go index 09d351d1..96269a79 100644 --- a/binapi/mactime/mactime.ba.go +++ b/binapi/mactime/mactime.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/mactime.api.json // Package mactime contains generated bindings for API file mactime.api. diff --git a/binapi/map/map.ba.go b/binapi/map/map.ba.go index 14ff04a1..8a7a5ae4 100644 --- a/binapi/map/map.ba.go +++ b/binapi/map/map.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/map.api.json // Package maps contains generated bindings for API file map.api. diff --git a/binapi/mdata/mdata.ba.go b/binapi/mdata/mdata.ba.go index f3d66585..1572316e 100644 --- a/binapi/mdata/mdata.ba.go +++ b/binapi/mdata/mdata.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/mdata.api.json // Package mdata contains generated bindings for API file mdata.api. diff --git a/binapi/memclnt/memclnt.ba.go b/binapi/memclnt/memclnt.ba.go index 8d286428..db5e3abc 100644 --- a/binapi/memclnt/memclnt.ba.go +++ b/binapi/memclnt/memclnt.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/memclnt.api.json // Package memclnt contains generated bindings for API file memclnt.api. diff --git a/binapi/memif/memif.ba.go b/binapi/memif/memif.ba.go index 2f6805b8..bd9cdffe 100644 --- a/binapi/memif/memif.ba.go +++ b/binapi/memif/memif.ba.go @@ -1,14 +1,14 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/memif.api.json // Package memif contains generated bindings for API file memif.api. // // Contents: // 2 enums -// 10 messages +// 12 messages // package memif @@ -30,7 +30,7 @@ const _ = api.GoVppAPIPackageIsVersion2 const ( APIFile = "memif" APIVersion = "3.0.0" - VersionCrc = 0xd189f1e1 + VersionCrc = 0x9ec8c1e7 ) // MemifMode defines enum 'memif_mode'. @@ -442,6 +442,88 @@ func (m *MemifSocketFilenameAddDelReply) Unmarshal(b []byte) error { return nil } +// MemifSocketFilenameAddDelV2 defines message 'memif_socket_filename_add_del_v2'. +type MemifSocketFilenameAddDelV2 struct { + IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` + SocketID uint32 `binapi:"u32,name=socket_id,default=4294967295" json:"socket_id,omitempty"` + SocketFilename string `binapi:"string[],name=socket_filename" json:"socket_filename,omitempty"` +} + +func (m *MemifSocketFilenameAddDelV2) Reset() { *m = MemifSocketFilenameAddDelV2{} } +func (*MemifSocketFilenameAddDelV2) GetMessageName() string { + return "memif_socket_filename_add_del_v2" +} +func (*MemifSocketFilenameAddDelV2) GetCrcString() string { return "34223bdf" } +func (*MemifSocketFilenameAddDelV2) GetMessageType() api.MessageType { + return api.RequestMessage +} + +func (m *MemifSocketFilenameAddDelV2) Size() (size int) { + if m == nil { + return 0 + } + size += 1 // m.IsAdd + size += 4 // m.SocketID + size += 4 + len(m.SocketFilename) // m.SocketFilename + return size +} +func (m *MemifSocketFilenameAddDelV2) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeBool(m.IsAdd) + buf.EncodeUint32(m.SocketID) + buf.EncodeString(m.SocketFilename, 0) + return buf.Bytes(), nil +} +func (m *MemifSocketFilenameAddDelV2) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.IsAdd = buf.DecodeBool() + m.SocketID = buf.DecodeUint32() + m.SocketFilename = buf.DecodeString(0) + return nil +} + +// MemifSocketFilenameAddDelV2Reply defines message 'memif_socket_filename_add_del_v2_reply'. +type MemifSocketFilenameAddDelV2Reply struct { + Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` + SocketID uint32 `binapi:"u32,name=socket_id" json:"socket_id,omitempty"` +} + +func (m *MemifSocketFilenameAddDelV2Reply) Reset() { *m = MemifSocketFilenameAddDelV2Reply{} } +func (*MemifSocketFilenameAddDelV2Reply) GetMessageName() string { + return "memif_socket_filename_add_del_v2_reply" +} +func (*MemifSocketFilenameAddDelV2Reply) GetCrcString() string { return "9f29bdb9" } +func (*MemifSocketFilenameAddDelV2Reply) GetMessageType() api.MessageType { + return api.ReplyMessage +} + +func (m *MemifSocketFilenameAddDelV2Reply) Size() (size int) { + if m == nil { + return 0 + } + size += 4 // m.Retval + size += 4 // m.SocketID + return size +} +func (m *MemifSocketFilenameAddDelV2Reply) Marshal(b []byte) ([]byte, error) { + if b == nil { + b = make([]byte, m.Size()) + } + buf := codec.NewBuffer(b) + buf.EncodeInt32(m.Retval) + buf.EncodeUint32(m.SocketID) + return buf.Bytes(), nil +} +func (m *MemifSocketFilenameAddDelV2Reply) Unmarshal(b []byte) error { + buf := codec.NewBuffer(b) + m.Retval = buf.DecodeInt32() + m.SocketID = buf.DecodeUint32() + return nil +} + // MemifSocketFilenameDetails defines message 'memif_socket_filename_details'. type MemifSocketFilenameDetails struct { SocketID uint32 `binapi:"u32,name=socket_id" json:"socket_id,omitempty"` @@ -516,6 +598,8 @@ func file_memif_binapi_init() { api.RegisterMessage((*MemifDump)(nil), "memif_dump_51077d14") api.RegisterMessage((*MemifSocketFilenameAddDel)(nil), "memif_socket_filename_add_del_a2ce1a10") api.RegisterMessage((*MemifSocketFilenameAddDelReply)(nil), "memif_socket_filename_add_del_reply_e8d4e804") + api.RegisterMessage((*MemifSocketFilenameAddDelV2)(nil), "memif_socket_filename_add_del_v2_34223bdf") + api.RegisterMessage((*MemifSocketFilenameAddDelV2Reply)(nil), "memif_socket_filename_add_del_v2_reply_9f29bdb9") api.RegisterMessage((*MemifSocketFilenameDetails)(nil), "memif_socket_filename_details_7ff326f7") api.RegisterMessage((*MemifSocketFilenameDump)(nil), "memif_socket_filename_dump_51077d14") } @@ -531,6 +615,8 @@ func AllMessages() []api.Message { (*MemifDump)(nil), (*MemifSocketFilenameAddDel)(nil), (*MemifSocketFilenameAddDelReply)(nil), + (*MemifSocketFilenameAddDelV2)(nil), + (*MemifSocketFilenameAddDelV2Reply)(nil), (*MemifSocketFilenameDetails)(nil), (*MemifSocketFilenameDump)(nil), } diff --git a/binapi/memif/memif_rpc.ba.go b/binapi/memif/memif_rpc.ba.go index 19c9e670..e9c0f8bb 100644 --- a/binapi/memif/memif_rpc.ba.go +++ b/binapi/memif/memif_rpc.ba.go @@ -17,6 +17,7 @@ type RPCService interface { MemifDelete(ctx context.Context, in *MemifDelete) (*MemifDeleteReply, error) MemifDump(ctx context.Context, in *MemifDump) (RPCService_MemifDumpClient, error) MemifSocketFilenameAddDel(ctx context.Context, in *MemifSocketFilenameAddDel) (*MemifSocketFilenameAddDelReply, error) + MemifSocketFilenameAddDelV2(ctx context.Context, in *MemifSocketFilenameAddDelV2) (*MemifSocketFilenameAddDelV2Reply, error) MemifSocketFilenameDump(ctx context.Context, in *MemifSocketFilenameDump) (RPCService_MemifSocketFilenameDumpClient, error) } @@ -98,6 +99,15 @@ func (c *serviceClient) MemifSocketFilenameAddDel(ctx context.Context, in *Memif return out, api.RetvalToVPPApiError(out.Retval) } +func (c *serviceClient) MemifSocketFilenameAddDelV2(ctx context.Context, in *MemifSocketFilenameAddDelV2) (*MemifSocketFilenameAddDelV2Reply, error) { + out := new(MemifSocketFilenameAddDelV2Reply) + err := c.conn.Invoke(ctx, in, out) + if err != nil { + return nil, err + } + return out, api.RetvalToVPPApiError(out.Retval) +} + func (c *serviceClient) MemifSocketFilenameDump(ctx context.Context, in *MemifSocketFilenameDump) (RPCService_MemifSocketFilenameDumpClient, error) { stream, err := c.conn.NewStream(ctx) if err != nil { diff --git a/binapi/mfib_types/mfib_types.ba.go b/binapi/mfib_types/mfib_types.ba.go index 09b84d9a..e6a6cbd9 100644 --- a/binapi/mfib_types/mfib_types.ba.go +++ b/binapi/mfib_types/mfib_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/mfib_types.api.json // Package mfib_types contains generated bindings for API file mfib_types.api. diff --git a/binapi/mpls/mpls.ba.go b/binapi/mpls/mpls.ba.go index 8ba1f259..9aa136e6 100644 --- a/binapi/mpls/mpls.ba.go +++ b/binapi/mpls/mpls.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/mpls.api.json // Package mpls contains generated bindings for API file mpls.api. diff --git a/binapi/mss_clamp/mss_clamp.ba.go b/binapi/mss_clamp/mss_clamp.ba.go index 6dfafc74..5aaf8da2 100644 --- a/binapi/mss_clamp/mss_clamp.ba.go +++ b/binapi/mss_clamp/mss_clamp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/mss_clamp.api.json // Package mss_clamp contains generated bindings for API file mss_clamp.api. diff --git a/binapi/nat44_ed/nat44_ed.ba.go b/binapi/nat44_ed/nat44_ed.ba.go index 791fd3f0..af8658c5 100644 --- a/binapi/nat44_ed/nat44_ed.ba.go +++ b/binapi/nat44_ed/nat44_ed.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nat44_ed.api.json // Package nat44_ed contains generated bindings for API file nat44_ed.api. diff --git a/binapi/nat44_ei/nat44_ei.ba.go b/binapi/nat44_ei/nat44_ei.ba.go index 625c1263..67b61f8b 100644 --- a/binapi/nat44_ei/nat44_ei.ba.go +++ b/binapi/nat44_ei/nat44_ei.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nat44_ei.api.json // Package nat44_ei contains generated bindings for API file nat44_ei.api. diff --git a/binapi/nat64/nat64.ba.go b/binapi/nat64/nat64.ba.go index 46b64934..20f8fe54 100644 --- a/binapi/nat64/nat64.ba.go +++ b/binapi/nat64/nat64.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nat64.api.json // Package nat64 contains generated bindings for API file nat64.api. diff --git a/binapi/nat66/nat66.ba.go b/binapi/nat66/nat66.ba.go index 1e5c5c8b..7fc441e2 100644 --- a/binapi/nat66/nat66.ba.go +++ b/binapi/nat66/nat66.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nat66.api.json // Package nat66 contains generated bindings for API file nat66.api. diff --git a/binapi/nat_types/nat_types.ba.go b/binapi/nat_types/nat_types.ba.go index 64d2f993..5fe18648 100644 --- a/binapi/nat_types/nat_types.ba.go +++ b/binapi/nat_types/nat_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nat_types.api.json // Package nat_types contains generated bindings for API file nat_types.api. diff --git a/binapi/nsh/nsh.ba.go b/binapi/nsh/nsh.ba.go index 9bf64cf5..dc4f2a49 100644 --- a/binapi/nsh/nsh.ba.go +++ b/binapi/nsh/nsh.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nsh.api.json // Package nsh contains generated bindings for API file nsh.api. diff --git a/binapi/nsim/nsim.ba.go b/binapi/nsim/nsim.ba.go index f54c7d1b..6c1bff1f 100644 --- a/binapi/nsim/nsim.ba.go +++ b/binapi/nsim/nsim.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/nsim.api.json // Package nsim contains generated bindings for API file nsim.api. diff --git a/binapi/one/one.ba.go b/binapi/one/one.ba.go index 548ddd07..e67ea0cf 100644 --- a/binapi/one/one.ba.go +++ b/binapi/one/one.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/one.api.json // Package one contains generated bindings for API file one.api. diff --git a/binapi/p2p_ethernet/p2p_ethernet.ba.go b/binapi/p2p_ethernet/p2p_ethernet.ba.go index 1c1182d7..49f4f177 100644 --- a/binapi/p2p_ethernet/p2p_ethernet.ba.go +++ b/binapi/p2p_ethernet/p2p_ethernet.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/p2p_ethernet.api.json // Package p2p_ethernet contains generated bindings for API file p2p_ethernet.api. diff --git a/binapi/pbl/pbl.ba.go b/binapi/pbl/pbl.ba.go index a727bed4..4c322032 100644 --- a/binapi/pbl/pbl.ba.go +++ b/binapi/pbl/pbl.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06-rc0~147-ge81e78f81 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/pbl.api.json // Package pbl contains generated bindings for API file pbl.api. diff --git a/binapi/pci_types/pci_types.ba.go b/binapi/pci_types/pci_types.ba.go index d3e968bf..3eb4793d 100644 --- a/binapi/pci_types/pci_types.ba.go +++ b/binapi/pci_types/pci_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/pci_types.api.json // Package pci_types contains generated bindings for API file pci_types.api. diff --git a/binapi/pg/pg.ba.go b/binapi/pg/pg.ba.go index 551db491..08a54fb7 100644 --- a/binapi/pg/pg.ba.go +++ b/binapi/pg/pg.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/pg.api.json // Package pg contains generated bindings for API file pg.api. diff --git a/binapi/pipe/pipe.ba.go b/binapi/pipe/pipe.ba.go index 1b3905d8..3a5d1475 100644 --- a/binapi/pipe/pipe.ba.go +++ b/binapi/pipe/pipe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/pipe.api.json // Package pipe contains generated bindings for API file pipe.api. diff --git a/binapi/pnat/pnat.ba.go b/binapi/pnat/pnat.ba.go index 3013be48..d1b8fdbb 100644 --- a/binapi/pnat/pnat.ba.go +++ b/binapi/pnat/pnat.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/pnat.api.json // Package pnat contains generated bindings for API file pnat.api. diff --git a/binapi/policer/policer.ba.go b/binapi/policer/policer.ba.go index 6474ae3b..064adead 100644 --- a/binapi/policer/policer.ba.go +++ b/binapi/policer/policer.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/policer.api.json // Package policer contains generated bindings for API file policer.api. diff --git a/binapi/policer_types/policer_types.ba.go b/binapi/policer_types/policer_types.ba.go index 1fbacaf9..4962dc5a 100644 --- a/binapi/policer_types/policer_types.ba.go +++ b/binapi/policer_types/policer_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/policer_types.api.json // Package policer_types contains generated bindings for API file policer_types.api. diff --git a/binapi/pot/pot.ba.go b/binapi/pot/pot.ba.go index bf1d4837..2c3b847c 100644 --- a/binapi/pot/pot.ba.go +++ b/binapi/pot/pot.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/pot.api.json // Package pot contains generated bindings for API file pot.api. diff --git a/binapi/pppoe/pppoe.ba.go b/binapi/pppoe/pppoe.ba.go index 734b64f1..069c44f5 100644 --- a/binapi/pppoe/pppoe.ba.go +++ b/binapi/pppoe/pppoe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/pppoe.api.json // Package pppoe contains generated bindings for API file pppoe.api. diff --git a/binapi/punt/punt.ba.go b/binapi/punt/punt.ba.go index 58622c57..9c19fe85 100644 --- a/binapi/punt/punt.ba.go +++ b/binapi/punt/punt.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/punt.api.json // Package punt contains generated bindings for API file punt.api. diff --git a/binapi/qos/qos.ba.go b/binapi/qos/qos.ba.go index 29102405..9ed410e3 100644 --- a/binapi/qos/qos.ba.go +++ b/binapi/qos/qos.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/qos.api.json // Package qos contains generated bindings for API file qos.api. diff --git a/binapi/rd_cp/rd_cp.ba.go b/binapi/rd_cp/rd_cp.ba.go index 0166bca6..ab18c94a 100644 --- a/binapi/rd_cp/rd_cp.ba.go +++ b/binapi/rd_cp/rd_cp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/rd_cp.api.json // Package rd_cp contains generated bindings for API file rd_cp.api. diff --git a/binapi/rdma/rdma.ba.go b/binapi/rdma/rdma.ba.go index fd9f818b..7a3028f8 100644 --- a/binapi/rdma/rdma.ba.go +++ b/binapi/rdma/rdma.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/rdma.api.json // Package rdma contains generated bindings for API file rdma.api. diff --git a/binapi/session/session.ba.go b/binapi/session/session.ba.go index 1580e640..c4856624 100644 --- a/binapi/session/session.ba.go +++ b/binapi/session/session.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/session.api.json // Package session contains generated bindings for API file session.api. diff --git a/binapi/span/span.ba.go b/binapi/span/span.ba.go index 094ba75a..5498872d 100644 --- a/binapi/span/span.ba.go +++ b/binapi/span/span.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/span.api.json // Package span contains generated bindings for API file span.api. diff --git a/binapi/sr/sr.ba.go b/binapi/sr/sr.ba.go index 6f61f31c..e7ff87e3 100644 --- a/binapi/sr/sr.ba.go +++ b/binapi/sr/sr.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/sr.api.json // Package sr contains generated bindings for API file sr.api. diff --git a/binapi/sr_mpls/sr_mpls.ba.go b/binapi/sr_mpls/sr_mpls.ba.go index 0700e5f0..59eeb335 100644 --- a/binapi/sr_mpls/sr_mpls.ba.go +++ b/binapi/sr_mpls/sr_mpls.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/sr_mpls.api.json // Package sr_mpls contains generated bindings for API file sr_mpls.api. diff --git a/binapi/sr_types/sr_types.ba.go b/binapi/sr_types/sr_types.ba.go index 726fe98c..f8a00346 100644 --- a/binapi/sr_types/sr_types.ba.go +++ b/binapi/sr_types/sr_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/sr_types.api.json // Package sr_types contains generated bindings for API file sr_types.api. diff --git a/binapi/stn/stn.ba.go b/binapi/stn/stn.ba.go index c73fd755..7c12b950 100644 --- a/binapi/stn/stn.ba.go +++ b/binapi/stn/stn.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/stn.api.json // Package stn contains generated bindings for API file stn.api. diff --git a/binapi/svs/svs.ba.go b/binapi/svs/svs.ba.go index 762a993b..5196d2d8 100644 --- a/binapi/svs/svs.ba.go +++ b/binapi/svs/svs.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/svs.api.json // Package svs contains generated bindings for API file svs.api. diff --git a/binapi/syslog/syslog.ba.go b/binapi/syslog/syslog.ba.go index a58c11fb..8e08820a 100644 --- a/binapi/syslog/syslog.ba.go +++ b/binapi/syslog/syslog.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/syslog.api.json // Package syslog contains generated bindings for API file syslog.api. diff --git a/binapi/tapv2/tapv2.ba.go b/binapi/tapv2/tapv2.ba.go index 5f3c6b8c..92047bf3 100644 --- a/binapi/tapv2/tapv2.ba.go +++ b/binapi/tapv2/tapv2.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/tapv2.api.json // Package tapv2 contains generated bindings for API file tapv2.api. diff --git a/binapi/tcp/tcp.ba.go b/binapi/tcp/tcp.ba.go index 0ef67c9f..1e4b958c 100644 --- a/binapi/tcp/tcp.ba.go +++ b/binapi/tcp/tcp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/tcp.api.json // Package tcp contains generated bindings for API file tcp.api. diff --git a/binapi/teib/teib.ba.go b/binapi/teib/teib.ba.go index 720f9d88..268832e7 100644 --- a/binapi/teib/teib.ba.go +++ b/binapi/teib/teib.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/teib.api.json // Package teib contains generated bindings for API file teib.api. diff --git a/binapi/tls_openssl/tls_openssl.ba.go b/binapi/tls_openssl/tls_openssl.ba.go index 6000f6e2..aeb0bc78 100644 --- a/binapi/tls_openssl/tls_openssl.ba.go +++ b/binapi/tls_openssl/tls_openssl.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/tls_openssl.api.json // Package tls_openssl contains generated bindings for API file tls_openssl.api. diff --git a/binapi/trace/trace.ba.go b/binapi/trace/trace.ba.go index 1ac88122..cb04deef 100644 --- a/binapi/trace/trace.ba.go +++ b/binapi/trace/trace.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/trace.api.json // Package trace contains generated bindings for API file trace.api. diff --git a/binapi/tunnel_types/tunnel_types.ba.go b/binapi/tunnel_types/tunnel_types.ba.go index 60ff7a4e..7ebd1b9e 100644 --- a/binapi/tunnel_types/tunnel_types.ba.go +++ b/binapi/tunnel_types/tunnel_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/tunnel_types.api.json // Package tunnel_types contains generated bindings for API file tunnel_types.api. diff --git a/binapi/udp/udp.ba.go b/binapi/udp/udp.ba.go index 751adf06..80ab7c40 100644 --- a/binapi/udp/udp.ba.go +++ b/binapi/udp/udp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/udp.api.json // Package udp contains generated bindings for API file udp.api. diff --git a/binapi/udp_ping/udp_ping.ba.go b/binapi/udp_ping/udp_ping.ba.go index 87731445..bfbdca01 100644 --- a/binapi/udp_ping/udp_ping.ba.go +++ b/binapi/udp_ping/udp_ping.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/udp_ping.api.json // Package udp_ping contains generated bindings for API file udp_ping.api. diff --git a/binapi/urpf/urpf.ba.go b/binapi/urpf/urpf.ba.go index aea0ab46..266f92bd 100644 --- a/binapi/urpf/urpf.ba.go +++ b/binapi/urpf/urpf.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/urpf.api.json // Package urpf contains generated bindings for API file urpf.api. diff --git a/binapi/vhost_user/vhost_user.ba.go b/binapi/vhost_user/vhost_user.ba.go index e99c098d..588ac94d 100644 --- a/binapi/vhost_user/vhost_user.ba.go +++ b/binapi/vhost_user/vhost_user.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vhost_user.api.json // Package vhost_user contains generated bindings for API file vhost_user.api. diff --git a/binapi/virtio/virtio.ba.go b/binapi/virtio/virtio.ba.go index 0ce71233..580aabe7 100644 --- a/binapi/virtio/virtio.ba.go +++ b/binapi/virtio/virtio.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/virtio.api.json // Package virtio contains generated bindings for API file virtio.api. diff --git a/binapi/virtio_types/virtio_types.ba.go b/binapi/virtio_types/virtio_types.ba.go index c0c09030..18ba32ab 100644 --- a/binapi/virtio_types/virtio_types.ba.go +++ b/binapi/virtio_types/virtio_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/virtio_types.api.json // Package virtio_types contains generated bindings for API file virtio_types.api. diff --git a/binapi/vlib/vlib.ba.go b/binapi/vlib/vlib.ba.go index f00ddce4..fd74eba7 100644 --- a/binapi/vlib/vlib.ba.go +++ b/binapi/vlib/vlib.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vlib.api.json // Package vlib contains generated bindings for API file vlib.api. diff --git a/binapi/vmxnet3/vmxnet3.ba.go b/binapi/vmxnet3/vmxnet3.ba.go index 4cb429cb..9a0e0d37 100644 --- a/binapi/vmxnet3/vmxnet3.ba.go +++ b/binapi/vmxnet3/vmxnet3.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/vmxnet3.api.json // Package vmxnet3 contains generated bindings for API file vmxnet3.api. diff --git a/binapi/vpe/vpe.ba.go b/binapi/vpe/vpe.ba.go index f19f097a..0d0ba659 100644 --- a/binapi/vpe/vpe.ba.go +++ b/binapi/vpe/vpe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vpe.api.json // Package vpe contains generated bindings for API file vpe.api. diff --git a/binapi/vpe_types/vpe_types.ba.go b/binapi/vpe_types/vpe_types.ba.go index 2356c66e..14054bbc 100644 --- a/binapi/vpe_types/vpe_types.ba.go +++ b/binapi/vpe_types/vpe_types.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vpe_types.api.json // Package vpe_types contains generated bindings for API file vpe_types.api. diff --git a/binapi/vrrp/vrrp.ba.go b/binapi/vrrp/vrrp.ba.go index 85bd22f0..3762a7f8 100644 --- a/binapi/vrrp/vrrp.ba.go +++ b/binapi/vrrp/vrrp.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/vrrp.api.json // Package vrrp contains generated bindings for API file vrrp.api. diff --git a/binapi/vxlan/vxlan.ba.go b/binapi/vxlan/vxlan.ba.go index d9ea70a7..4969ac18 100644 --- a/binapi/vxlan/vxlan.ba.go +++ b/binapi/vxlan/vxlan.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vxlan.api.json // Package vxlan contains generated bindings for API file vxlan.api. diff --git a/binapi/vxlan_gpe/vxlan_gpe.ba.go b/binapi/vxlan_gpe/vxlan_gpe.ba.go index 172ad0af..b114be93 100644 --- a/binapi/vxlan_gpe/vxlan_gpe.ba.go +++ b/binapi/vxlan_gpe/vxlan_gpe.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/core/vxlan_gpe.api.json // Package vxlan_gpe contains generated bindings for API file vxlan_gpe.api. diff --git a/binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export.ba.go b/binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export.ba.go index 44b36881..566fc5ce 100644 --- a/binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export.ba.go +++ b/binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/vxlan_gpe_ioam_export.api.json // Package vxlan_gpe_ioam_export contains generated bindings for API file vxlan_gpe_ioam_export.api. diff --git a/binapi/wireguard/wireguard.ba.go b/binapi/wireguard/wireguard.ba.go index 95c2cec0..f49d27d9 100644 --- a/binapi/wireguard/wireguard.ba.go +++ b/binapi/wireguard/wireguard.ba.go @@ -1,7 +1,7 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.4.0-dev -// VPP: 22.06.0-1~g1e20fd388 +// VPP: 22.10-rc2~9-g054a48979 // source: /usr/share/vpp/api/plugins/wireguard.api.json // Package wireguard contains generated bindings for API file wireguard.api. diff --git a/patch/0001-l2-Add-bridge_domain_add_del_v2-to-l2-api.patch b/patch/0001-l2-Add-bridge_domain_add_del_v2-to-l2-api.patch deleted file mode 100644 index f625facf..00000000 --- a/patch/0001-l2-Add-bridge_domain_add_del_v2-to-l2-api.patch +++ /dev/null @@ -1,273 +0,0 @@ -From cf1f1e6659199ad9c5346deefeed920eb11ae06e Mon Sep 17 00:00:00 2001 -From: Laszlo Kiraly -Date: Fri, 16 Sep 2022 13:20:07 +0200 -Subject: [PATCH] l2: Add bridge_domain_add_del_v2 to l2 api - -https://jira.fd.io/browse/VPP-2034 - -Type: fix -Signed-off-by: Laszlo Kiraly -Change-Id: Ieb6919f958f437fc603d5e1f48cab01de780951d ---- - src/vnet/l2/l2.api | 49 +++++++++++++++++++++++++++++++++++++++++-- - src/vnet/l2/l2_api.c | 32 ++++++++++++++++++++++++++++ - src/vnet/l2/l2_bd.c | 44 ++++++++++++++++++++++++++++++++++++-- - src/vnet/l2/l2_bd.h | 3 ++- - src/vnet/l2/l2_test.c | 13 ++++++++++++ - 5 files changed, 136 insertions(+), 5 deletions(-) - -diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api -index b0ac23f70..ccba9aa3d 100644 ---- a/src/vnet/l2/l2.api -+++ b/src/vnet/l2/l2.api -@@ -1,6 +1,7 @@ - /* Hey Emacs use -*- mode: C -*- */ - /* - * Copyright (c) 2016 Cisco and/or its affiliates. -+ * Copyright (c) 2022 Nordix Foundation. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: -@@ -14,7 +15,7 @@ - * limitations under the License. - */ - --option version = "3.1.0"; -+option version = "3.2.0"; - - import "vnet/ip/ip_types.api"; - import "vnet/ethernet/ethernet_types.api"; -@@ -304,7 +305,7 @@ autoreply define bridge_domain_set_learn_limit - u32 learn_limit; - }; - --/** \brief L2 bridge domain add or delete request -+/** \brief L2 bridge domain add or delete request - will be deprecated - @param client_index - opaque cookie to identify the sender - @param context - sender context, to match reply w/ request - @param bd_id - the bridge domain to create -@@ -319,6 +320,7 @@ autoreply define bridge_domain_set_learn_limit - */ - autoreply define bridge_domain_add_del - { -+ option deprecated; - u32 client_index; - u32 context; - u32 bd_id; -@@ -333,6 +335,49 @@ autoreply define bridge_domain_add_del - bool is_add [default=true]; - }; - -+/** \brief L2 bridge domain add delete request version 2 -+ @param client_index - opaque cookie to identify the sender -+ @param context - sender context, to match reply w/ request -+ @param bd_id - if the id == ~0 creates a bridge domain with an unused id -+ if the id != ~0 the id of the bridge domain to create/delete -+ @param flood - enable/disable bcast/mcast flooding in the bd -+ @param uu_flood - enable/disable unknown unicast flood in the bd -+ @param forward - enable/disable forwarding on all interfaces in the bd -+ @param learn - enable/disable learning on all interfaces in the bd -+ @param arp_term - enable/disable arp termination in the bd -+ @param arp_ufwd - enable/disable arp unicast forwarding in the bd -+ @param mac_age - mac aging time in min, 0 for disabled -+ @param is_add - add or delete flag -+*/ -+define bridge_domain_add_del_v2 -+{ -+ u32 client_index; -+ u32 context; -+ u32 bd_id; -+ bool flood; -+ bool uu_flood; -+ bool forward; -+ bool learn; -+ bool arp_term; -+ bool arp_ufwd; -+ u8 mac_age; -+ string bd_tag[64]; -+ bool is_add [default=true]; -+}; -+ -+/** \brief L2 bridge domain add delete version 2 response -+ @param context - sender context, to match reply w/ request -+ @param retval - return code for the set bridge flags request -+ @param resulting_id - the id for the new bridge domain -+*/ -+define bridge_domain_add_del_v2_reply -+{ -+ u32 context; -+ i32 retval; -+ u32 bd_id; -+}; -+ -+ - /** \brief L2 bridge domain request operational state details - @param client_index - opaque cookie to identify the sender - @param context - sender context, to match reply w/ request -diff --git a/src/vnet/l2/l2_api.c b/src/vnet/l2/l2_api.c -index 5a0432de4..2869c9e4c 100644 ---- a/src/vnet/l2/l2_api.c -+++ b/src/vnet/l2/l2_api.c -@@ -3,6 +3,7 @@ - * l2_api.c - layer 2 forwarding api - * - * Copyright (c) 2016 Cisco and/or its affiliates. -+ * Copyright (c) 2022 Nordix Foundation. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: -@@ -510,6 +511,37 @@ vl_api_bridge_domain_add_del_t_handler (vl_api_bridge_domain_add_del_t * mp) - REPLY_MACRO (VL_API_BRIDGE_DOMAIN_ADD_DEL_REPLY); - } - -+static void -+vl_api_bridge_domain_add_del_v2_t_handler ( -+ vl_api_bridge_domain_add_del_v2_t *mp) -+{ -+ vl_api_bridge_domain_add_del_v2_reply_t *rmp; -+ u32 bd_id = ntohl (mp->bd_id); -+ int rv = 0; -+ -+ if ((~0 == bd_id) && (mp->is_add)) -+ bd_id = bd_get_unused_id (); -+ -+ if ((~0 == bd_id) && (mp->is_add)) -+ rv = VNET_API_ERROR_EAGAIN; -+ else -+ { -+ l2_bridge_domain_add_del_args_t a = { .is_add = mp->is_add, -+ .flood = mp->flood, -+ .uu_flood = mp->uu_flood, -+ .forward = mp->forward, -+ .learn = mp->learn, -+ .arp_term = mp->arp_term, -+ .arp_ufwd = mp->arp_ufwd, -+ .mac_age = mp->mac_age, -+ .bd_id = bd_id, -+ .bd_tag = mp->bd_tag }; -+ rv = bd_add_del (&a); -+ } -+ REPLY_MACRO2 (VL_API_BRIDGE_DOMAIN_ADD_DEL_V2_REPLY, -+ ({ rmp->bd_id = htonl (bd_id); })); -+} -+ - static void - send_bridge_domain_details (l2input_main_t * l2im, - vl_api_registration_t * reg, -diff --git a/src/vnet/l2/l2_bd.c b/src/vnet/l2/l2_bd.c -index 7e6ea60b4..a84291707 100644 ---- a/src/vnet/l2/l2_bd.c -+++ b/src/vnet/l2/l2_bd.c -@@ -1493,8 +1493,15 @@ bd_add_del_command_fn (vlib_main_t * vm, unformat_input_t * input, - - if (bd_id == ~0) - { -- error = clib_error_return (0, "bridge-domain-id not specified"); -- goto done; -+ if (is_add) -+ { -+ bd_id = bd_get_unused_id (); -+ } -+ else -+ { -+ error = clib_error_return (0, "bridge-domain-id not specified"); -+ goto done; -+ } - } - - if (bd_id == 0) -@@ -1597,7 +1604,40 @@ VLIB_CLI_COMMAND (bd_create_cli, static) = { - }; - /* *INDENT-ON* */ - -+/* -+ * Returns an unused bridge domain id, and ~0 if it can't find one. -+ */ -+u32 -+bd_get_unused_id () -+{ -+ bd_main_t *bdm = &bd_main; -+ int i, j; -+ int is_seed_low = 0; -+ static u32 seed = 0; -+ /* limit to 1M tries */ -+ for (j = 0; j < 1 << 10; j++) -+ { -+ seed = random_u32 (&seed) & L2_BD_ID_MAX; -+ if (seed == 0) -+ continue; -+ if (seed < L2_BD_ID_MAX % 2) -+ is_seed_low = 1; -+ for (i = 0; i < L2_BD_ID_MAX % 2; i++) -+ { -+ /* look around randomly generated id */ -+ if (is_seed_low) -+ seed += (2 * (i % 2) - 1) * i; -+ else -+ seed -= (2 * (i % 2) - 1) * i; -+ if (seed == ~0 || seed == 0) -+ continue; -+ if (bd_find_index (bdm, seed) == ~0) -+ return seed; -+ } -+ } - -+ return ~0; -+} - - /* - * fd.io coding-style-patch-verification: ON -diff --git a/src/vnet/l2/l2_bd.h b/src/vnet/l2/l2_bd.h -index 0d7729251..082d210b9 100644 ---- a/src/vnet/l2/l2_bd.h -+++ b/src/vnet/l2/l2_bd.h -@@ -2,6 +2,7 @@ - * l2_bd.h : layer 2 bridge domain - * - * Copyright (c) 2013 Cisco and/or its affiliates. -+ * Copyright (c) 2022 Nordix Foundation. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: -@@ -166,7 +167,7 @@ u32 bd_set_flags (vlib_main_t * vm, u32 bd_index, bd_flags_t flags, - void bd_set_mac_age (vlib_main_t * vm, u32 bd_index, u8 age); - void bd_set_learn_limit (vlib_main_t *vm, u32 bd_index, u32 learn_limit); - int bd_add_del (l2_bridge_domain_add_del_args_t * args); -- -+u32 bd_get_unused_id (void); - /** - * \brief Get a bridge domain. - * -diff --git a/src/vnet/l2/l2_test.c b/src/vnet/l2/l2_test.c -index 3be4a4622..b78e388a9 100644 ---- a/src/vnet/l2/l2_test.c -+++ b/src/vnet/l2/l2_test.c -@@ -1,5 +1,6 @@ - /* SPDX-License-Identifier: Apache-2.0 - * Copyright(c) 2021 Cisco Systems, Inc. -+ * Copyright(c) 2022 Nordix Foundation. - */ - - #include -@@ -634,6 +635,18 @@ done: - return ret; - } - -+static int -+api_bridge_domain_add_del_v2 (vat_main_t *vam) -+{ -+ return -1; -+} -+ -+static void -+vl_api_bridge_domain_add_del_v2_reply_t_handler ( -+ vl_api_bridge_domain_add_del_v2_reply_t *mp) -+{ -+} -+ - #define foreach_pbb_vtr_op \ - _ ("disable", L2_VTR_DISABLED) \ - _ ("pop", L2_VTR_POP_2) \ --- -2.34.1 - diff --git a/patch/patch.sh b/patch/patch.sh index 04e64c7a..4df4090d 100755 --- a/patch/patch.sh +++ b/patch/patch.sh @@ -12,6 +12,22 @@ function git_cherry_pick () git commit --amend -m "gerrit:${refs#refs/changes/*/} $(git log -1 --pretty=%B)" } +# Calico cherry picks +git_cherry_pick refs/changes/13/34713/4 # 34713: vppinfra: improve & test abstract socket | https://gerrit.fd.io/r/c/vpp/+/34713 +git_cherry_pick refs/changes/71/32271/16 # 32271: memif: add support for ns abstract sockets | https://gerrit.fd.io/r/c/vpp/+/32271 +git_cherry_pick refs/changes/34/34734/3 # 34734: memif: autogenerate socket_ids | https://gerrit.fd.io/r/c/vpp/+/34734 +git_cherry_pick refs/changes/26/34726/1 # 34726: interface: add buffer stats api | https://gerrit.fd.io/r/c/vpp/+/3472 + +# --------------- Dedicated plugins --------------- +git_cherry_pick refs/changes/64/33264/7 # 33264: pbl: Port based balancer | https://gerrit.fd.io/r/c/vpp/+/33264 +git_cherry_pick refs/changes/88/31588/4 # 31588: cnat: [WIP] no k8s maglev from pods | https://gerrit.fd.io/r/c/vpp/+/31588 +git_cherry_pick refs/changes/83/28083/21 # 28083: acl: acl-plugin custom policies | https://gerrit.fd.io/r/c/vpp/+/28083 +git_cherry_pick refs/changes/13/28513/28 # 25813: capo: Calico Policies plugin | https://gerrit.fd.io/r/c/vpp/+/28513 +# --------------- Dedicated plugins --------------- + +# NSM cherry-picks +git_cherry_pick refs/changes/41/37141/11 # 37141: l2: Add bridge_domain_add_del_v2 to l2 api | https://gerrit.fd.io/r/c/vpp/+/37141 + if [ "$(ls ./patch/*.patch 2> /dev/null)" ]; then git apply patch/*.patch git add --all