Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
280b1c6
Optimize socketclient adapter and add various code improvements
ondrej-fabry Jun 16, 2020
94620e8
Refactored binapi generator with message encoding
ondrej-fabry Jun 18, 2020
ceed734
Fix codec fallback and generate type imports
ondrej-fabry Jun 23, 2020
df67791
Introduce Stream - experimental API for low-level access to VPP API
ondrej-fabry Jun 25, 2020
c7ae74a
Binary API generator improvements
VladoLavor Jul 1, 2020
bded546
Fix README.md quickstart section
Jul 7, 2020
2fdb2ac
Removed global binapi VPP adapter
VladoLavor Jul 9, 2020
f4f4a86
Fix: generate (un)marshall for memory client messages
VladoLavor Jul 10, 2020
1548c7e
socket adapter: don't bother sending sockclnt_delete messages
Jul 10, 2020
d1f24d3
Improve binapi generator
ondrej-fabry Jul 17, 2020
a155cd4
Added VPP state 'NotResponding'
VladoLavor Jul 17, 2020
58da9ac
Fix binapigen decoding and minor improvements
ondrej-fabry Jul 22, 2020
8049bd2
Add SetLogger for setting global logger
ondrej-fabry Aug 4, 2020
8c3f048
Update libmemif
VladoLavor Aug 4, 2020
ff0a393
Expose version info control flags
sknat Aug 21, 2020
a4e8bf2
Binapi generator: improved file input
VladoLavor Aug 19, 2020
15c53e7
fix(binapigen): Fix name conflict for union field constructors
ondrej-fabry Aug 28, 2020
42d11af
fixed data race in mock vpp adapter
serejkus Aug 22, 2020
c94a962
Improve doc & fix import ordering
sknat Aug 21, 2020
1a1f404
Stats APIv2
VladoLavor Sep 2, 2020
760f6c2
Update VPP config warnings and change log level in proxy
ondrej-fabry Sep 4, 2020
0893e8c
Increase default health check parameters
ondrej-fabry Sep 4, 2020
e3cea0c
Fix decoding messages of identical types in stream
ondrej-fabry Sep 4, 2020
e517439
Remove unnecessary allocation
VladoLavor Sep 4, 2020
43cd239
binapigen: fix union size
VladoLavor Sep 16, 2020
9efccff
Reload stats socket when VPP restarts
VladoLavor Sep 22, 2020
f751f3f
Updated changelog for v0.4.0
VladoLavor Sep 28, 2020
c245655
Check retval value and convert to error in generated RPC client code
ondrej-fabry Oct 2, 2020
4cf5e5c
Updated multi-vpp example
VladoLavor Oct 1, 2020
8d4ee12
Generate VPE HTTP handler
VladoLavor Oct 13, 2020
9ea1f77
Stream API options
VladoLavor Oct 12, 2020
cb540dc
Fix panic for Retval fields with uint kinds
ondrej-fabry Oct 23, 2020
0f46871
Fix encoding for float64 and generate conversion for Timestamp
ondrej-fabry Oct 23, 2020
b74e3b3
Stats API: added GetMemory()
VladoLavor Oct 29, 2020
2b743ee
Update changelog
VladoLavor Nov 4, 2020
bcf3fbd
Fixed incorrect message error in the stream API
VladoLavor Dec 1, 2020
8d3131f
Decode message context using the message type only
VladoLavor Dec 3, 2020
b4a05a1
Added INFO.yaml
VladoLavor Dec 14, 2020
4da29d1
Remove socket warnings from client adapters
ondrej-fabry Dec 21, 2020
c0c73d3
Rework test for binary API union sizes
VladoLavor Dec 22, 2020
4c1cccf
binapigen: added enumflags type
VladoLavor Feb 1, 2021
4459b64
Added asynchronous connection for stats socket
VladoLavor Feb 18, 2021
4e16c71
Provide error counters per worker for statsclient
VladoLavor Mar 2, 2021
8ff6fc4
Fix panic during disconnection
hurd54 Mar 19, 2021
671f16c
Add statsclient options and fix wait for socket
VladoLavor Mar 22, 2021
1d574a7
fix INFO.yaml
VladoLavor Apr 15, 2021
d0b9730
Recognize stat_dir_type_empty
VladoLavor Mar 11, 2021
a6607d9
added api message options
VladoLavor Mar 11, 2021
c380ee6
statsclient: allow index as pattern
VladoLavor Mar 17, 2021
ba6e92d
statsclient: added symlinks
VladoLavor May 13, 2021
da95997
statsclient: fix retrieving stats type
VladoLavor Jun 1, 2021
5de7f6b
Fix encode/decode for []bool
VladoLavor Jun 15, 2021
91800ed
https://jira.fd.io/projects/GOVPP/issues/GOVPP-20
Jun 24, 2021
57de49f
feat: api-trace
VladoLavor Jul 6, 2021
24f179d
https://jira.fd.io/browse/GOVPP-21
Jul 5, 2021
c0da1f2
proxy update to vpp 20.05
mhalaj1 Jul 22, 2021
debc52d
regenerate binapi
mhalaj1 Aug 26, 2021
c09ee32
Refactoring and fixes
mhalaj1 Aug 26, 2021
a5739cb
binapigen: enhanced vpp version resolution
VladoLavor Sep 7, 2021
385ccc0
core: close Stream after Connection.Invoke
Sep 27, 2021
4cc53fc
Fix memory leak in health check
VladoLavor Oct 19, 2021
0a0c03d
Add "FromIP" helper for addresses
AloysAugustin Oct 18, 2021
568e126
Changelog for release 0.4.0
VladoLavor Jan 11, 2022
ca1dfc3
doc: Update README
ondrej-fabry Jan 14, 2022
151da93
Update README
ondrej-fabry Jan 17, 2022
fa7a6d1
Prepare release v0.4.0
ondrej-fabry Jan 17, 2022
000215c
Begin development for v0.5.0
ondrej-fabry Jan 17, 2022
b9aa34d
connection: prevent channel ID overlap
lukedirtwalker Jan 31, 2022
81412d5
Properly close the socket watcher
VladoLavor Mar 17, 2022
4a4094e
read memory stats from per-heap couters
VladoLavor May 2, 2022
945b7c7
fixed data race in core.Connection.Close().
serejkus Apr 1, 2022
874266e
support error counters also as normal counters
VladoLavor May 5, 2022
16a47ef
go.mod: Update for go1.18 & bump to go 1.13
sknat May 11, 2022
020d8b0
Add Dockerfile to ease generation of binapi/
edwarnicke Apr 26, 2022
1c62218
Regenerate binapi from Dockerfile
edwarnicke Apr 27, 2022
e93c0bb
Generate APIName/APIVersion/CrcVersion for 'types'
edwarnicke Apr 27, 2022
f06c92d
Regenerate 'types' with APIFile/APIVersion/CrcVersion
edwarnicke Apr 27, 2022
a4112fa
test: Fix test dependancy
sknat May 30, 2022
4102c72
Update generated binapi to v22.02 & makefile changes
sknat Apr 27, 2022
e9567fa
binapi: remove internal/testbinapi
sknat May 30, 2022
2067f6e
add sknat to committers
sknat Jun 17, 2022
833eaf3
Fix statseg v2 error index zero id skip
Jun 15, 2022
4223b11
Fix statseg v1 error offset zero
sknat Jul 25, 2022
0f05d2a
Fix stats API for vpp 22.06
lukedirtwalker Jul 28, 2022
66b2e88
GoVPP release v0.5.0
sknat Jul 28, 2022
278cd54
Set current version to 0.6.0-dev
sknat Jul 28, 2022
67cea0d
Change module name to go.fd.io/govpp
sknat Jul 7, 2022
8712041
Initial pass at GitHub Actions CI. (#22)
edwarnicke Aug 8, 2022
0eff8d0
Remove vppapiclient (#23)
edwarnicke Aug 8, 2022
379a742
ci: Remove travis (#24)
ondrej-fabry Aug 11, 2022
8ed82f7
chore: Get rid of gerrit remains (#25)
ondrej-fabry Aug 11, 2022
db6a7f3
docs: Update README (#31)
ondrej-fabry Aug 19, 2022
822f517
call munmap when failed to check stat segment version (#34)
xcxinng Sep 8, 2022
60fe76f
Update to Go 1.18 and retract versions v0.5.0 and older (#40)
ondrej-fabry Sep 9, 2022
e99af9b
Release v0.6.0 (#41)
ondrej-fabry Sep 9, 2022
4516f0c
Begin development of v0.7.0
ondrej-fabry Sep 9, 2022
3c5145b
Update API bindings with VPP 22.06 (#26)
sknat Sep 20, 2022
744e115
fix: Fix format of package comment (#44)
ondrej-fabry Sep 22, 2022
5605f69
Switch to using a generic pool for channels in Connection (#39)
edwarnicke Sep 22, 2022
fd89a9c
linter: fixes for staticcheck (#27)
sknat Sep 28, 2022
e7c28a0
Prevent data race on msgMapByPath map (#50)
bayrinat Sep 28, 2022
f388cc1
extras/libmemif: upgrade libmemif to a new version (#32)
Giluerre Sep 29, 2022
9ed1880
Fix panic on the pool put/get operations (#54)
bayrinat Sep 29, 2022
c4a0cca
Fix endless loop in Reset (#57)
ondrej-fabry Oct 3, 2022
199137b
feat: Disable default reply timeout (#45)
ondrej-fabry Oct 3, 2022
42be563
Update README.md (#59)
ondrej-fabry Oct 6, 2022
f77cad3
Update ci.yaml (#61)
ondrej-fabry Oct 11, 2022
6bea83b
gomemif: migrate from vpp repository (#65)
mhalaj1 Oct 17, 2022
8f6095c
Run golangci-lint in CI (#69)
ondrej-fabry Oct 20, 2022
f4685b3
Fix generate RPC client for stream with reply (#72)
ondrej-fabry Oct 20, 2022
c584635
Fix endless Stream's reply waiting on vpp disconnect (#77)
bayrinat Oct 26, 2022
c01d6b8
Add GoVPP logo to README (#79)
ondrej-fabry Oct 27, 2022
3ed0937
Introduce VPP integration tests (#75)
ondrej-fabry Oct 28, 2022
0fe59af
docs: Add troubleshooting guide (#70)
mhalaj1 Nov 4, 2022
344b3ab
Add support of watching events to Connection (#80)
ondrej-fabry Nov 7, 2022
d8a7de3
Fix WaitReady if directory does not exist (#84)
ondrej-fabry Nov 24, 2022
2155ba3
Release v0.7.0 (#91)
ondrej-fabry Nov 29, 2022
dbe4dac
Begin development for v0.8.0
ondrej-fabry Nov 29, 2022
d959ad0
Create RELEASE document (#89)
ondrej-fabry Dec 1, 2022
c5a0d25
Fix binapi generation if old binapi files are not present (#73)
mhalaj1 Dec 5, 2022
2d9cffb
Delete binapi/pp2 directory (#95)
ondrej-fabry Dec 8, 2022
6c98bc4
Update test.yaml (#102)
ondrej-fabry Jan 26, 2023
6f2a35c
gomemif: handle EINTR error (#99)
Giluerre Jan 31, 2023
2054a76
Update README.md
ondrej-fabry Feb 2, 2023
6c69034
Bump golang.org/x/text from 0.3.7 to 0.3.8 (#112)
dependabot[bot] Feb 23, 2023
8269339
Update Go and test if binapi is up-to-date (#105)
ondrej-fabry Feb 24, 2023
7239f65
Fix disconnect for AsyncConnect case (#106)
dvalter Feb 24, 2023
2e99d31
Bump golang.org/x/sys in /extras (#113)
dependabot[bot] Mar 2, 2023
5e3d737
Bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.7.0…
dependabot[bot] Mar 2, 2023
5ee4cc8
Enhancements for binapigen (#93)
ondrej-fabry Mar 2, 2023
7298154
The user guide (#110)
VladoLavor Mar 3, 2023
7c0746c
Generate message comments (#109)
ondrej-fabry Mar 7, 2023
8b655ac
Update README.md (#115)
ondrej-fabry Mar 16, 2023
6a7dcb0
gomemif: fix memif abstract socket support (#119)
sknat Mar 30, 2023
5d3af5b
Fix for Dockerfile smell DL3008 (#123)
grosa1 Apr 18, 2023
b168422
fix: Fix memory leak with reply timers (#124)
ondrej-fabry Apr 20, 2023
a474619
Add more GoVPP CLI features (#117)
ondrej-fabry Apr 27, 2023
cffa108
Invalidate msgTable map during reconnect (#127)
themiron May 3, 2023
b7db61b
Add README for examples (#128)
ondrej-fabry May 3, 2023
f36ddce
Fix race in statsclient during reconnect (#126)
dvalter May 5, 2023
ae223a3
Update USER_GUIDE.md (#132)
ondrej-fabry May 23, 2023
a8e2fbb
Update Dockerfile.integration (#134)
ondrej-fabry May 26, 2023
429778a
Fix channel pool (#131)
ondrej-fabry Jun 5, 2023
5d7f525
Refactor resolving VPP API input (#130)
ondrej-fabry Jun 5, 2023
a0cfc39
binapigen: initial support for counters and paths (#121)
VladoLavor Jun 12, 2023
7e90564
Fix variable name
ondrej-fabry Jun 12, 2023
d540f5f
Update USER_GUIDE.md
ondrej-fabry Jun 22, 2023
59387c0
Update README.md
ondrej-fabry Jun 22, 2023
e330ce1
Skip running CI tests for docs updates (#137)
ondrej-fabry Jun 23, 2023
14d176d
Fix memory leak for timers (#138)
ondrej-fabry Jun 23, 2023
21b5292
Improvements for GoVPP CLI (#135)
ondrej-fabry Jun 23, 2023
0c89040
Add VPP 23.06 to CI (#136)
ondrej-fabry Jun 26, 2023
f93fc7a
Update INFO.yaml
ondrej-fabry Jul 3, 2023
32e69d2
Minor improvements (#140)
ondrej-fabry Jul 10, 2023
25405e7
Update GOVPP_CLI doc (#141)
ondrej-fabry Jul 10, 2023
20eb4ef
Regenerate binapi for VPP 23.06 (#143)
ondrej-fabry Jul 10, 2023
35c6fa2
Update README.md (#139)
ondrej-fabry Jul 13, 2023
773b44f
Tracetest (#142)
ondrej-fabry Jul 13, 2023
5dcbc7f
Test against master VPP (#145)
ondrej-fabry Jul 13, 2023
9cf7f82
Fix returning message reply on retval errors (#147)
ondrej-fabry Jul 17, 2023
6431e5f
Bump version to v0.8.0 (#148)
ondrej-fabry Jul 18, 2023
98b8af5
Update module path
shinae-woo Oct 25, 2023
2609544
Public Wrapper for '(c *StatsConnection) UpdateStats'
shinae-woo Oct 25, 2023
c4e1737
AK-46144 use an interface to handle packet burst (#3)
rvichery Aug 9, 2024
d35540c
Merge branch 'alkira/dev' of github.com:alkiranet/govpp into task/AK-…
ak-dhananjay Sep 20, 2024
354fb95
AK-47707: fixing module path
ak-dhananjay Sep 20, 2024
befed08
AK-47707: Lint warning fixes
ak-dhananjay Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/ci/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
extends: relaxed

yaml-files:
- '*.yaml'
- '*.yml'

rules:
truthy: disable
# 80 chars should be enough, but don't fail if a line is longer
line-length: disable
119 changes: 119 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
---
name: CI
on:
push:
tags:
- v*
branches:
- master
- ci
pull_request:
# Allows running this workflow manually
workflow_dispatch:

permissions:
contents: read

jobs:
yaml-lint:
name: "Lint YAML"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Run YAML linter"
uses: ibiqlik/action-yamllint@v3
with:
config_file: '.github/ci/yamllint.yml'

go-mod:
strategy:
matrix:
go: [ '1.20' ]
name: "Check go.mod"
runs-on: ubuntu-latest
steps:
- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: "Checkout"
uses: actions/checkout@v3
- name: "Run go mod tidy"
run: go mod tidy -v
- name: "Check go.mod"
run: |
git diff --exit-code go.mod
- name: "Check go.sum"
run: |
git diff --exit-code go.sum

binapi:
strategy:
matrix:
go: [ '1.20' ]
env:
VERSION: v0.8.0
name: "Check generated binapi"
runs-on: ubuntu-latest
steps:
- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: "Checkout"
uses: actions/checkout@v3
- name: "Generate binapi"
run: make gen-binapi-docker
- name: "Check binapi"
run: |
git diff --exit-code binapi

build-test:
strategy:
matrix:
go: [ '1.20' ]
os: [ ubuntu-latest ]
name: "Build and test"
runs-on: ${{ matrix.os }}
steps:
- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: "Setup gotestsum"
uses: autero1/[email protected]
with:
gotestsum_version: 1.9.0
- name: "Checkout"
uses: actions/checkout@v3
- name: "Go Build"
run: go build -v ./...
- name: "Go Test"
run: gotestsum --format testname --jsonfile test.json -- -race ./...
- name: "Test results"
if: always()
uses: guyarb/[email protected]
with:
test-results: test.json

golangci:
strategy:
matrix:
go: [ '1.20' ]
name: "GolangCI"
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: "Checkout"
uses: actions/checkout@v3
- name: "Run golangci"
uses: golangci/golangci-lint-action@v3 # docs: https://github.com/golangci/golangci-lint-action
with:
version: latest
42 changes: 42 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Test
on:
# Runs on branch push to master & PRs
push:
branches:
- master
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
# Runs daily at 05:05
schedule:
- cron: '5 5 * * *'
# Allows running manually
workflow_dispatch:

jobs:
integration:
name: "VPP Integration ${{ matrix.version }}"
runs-on: ubuntu-latest
env:
VPP_REPO: ${{ matrix.version }}
strategy:
fail-fast: false
matrix:
version:
- 'master'
- '2306'
- '2302'
- '2210'

steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: "Run Tests"
run: |
make test-integration
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@

.idea/

.cache/

/bin/

# cmd
cmd/binapi-generator/binapi-generator
cmd/vpp-proxy/vpp-proxy
cmd/govpp/govpp

# examples
examples/api-trace/api-trace
examples/multi-vpp/multi-vpp
examples/perf-bench/perf-bench
examples/rpc-service/rpc-service
examples/simple-client/simple-client
examples/stats-client/stats-client
examples/stream-client/stream-client
examples/union-example/union-example

/govpp
4 changes: 0 additions & 4 deletions .gitreview

This file was deleted.

22 changes: 22 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Configuration of golangci-lint
#
# see docs: https://golangci-lint.run/usage/configuration/

---
run:
timeout: 5m
skip-dirs:
- adapter/mock
skip-files:
- ".*\\.ba.\\.go$"

linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Loading
Loading