update go-cache to fix p2p mode concurrency map access

This commit is contained in:
KusakabeSi 2022-01-25 22:32:48 +00:00
parent 1141334e4b
commit bfc731c021
4 changed files with 5 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@ -22,7 +22,7 @@
"program": "${workspaceFolder}", "program": "${workspaceFolder}",
"buildFlags": "-tags 'novpp'", "buildFlags": "-tags 'novpp'",
"env": {"CGO_CFLAGS":"-I/usr/include/memif"}, "env": {"CGO_CFLAGS":"-I/usr/include/memif"},
"args":["-config","example_config/super_mode/EgNet_edge001.yaml","-mode","edge"/*,"-example"*/], "args":["-config","example_config/p2p_mode/EgNet_edge4.yaml","-mode","edge"/*,"-example"*/],
}, },
{ {
"name": "Launch GenCfg", "name": "Launch GenCfg",

View File

@ -42,7 +42,7 @@ GraphRecalculateSetting:
NextHopTable: {} NextHopTable: {}
EdgeTemplate: EgNet_edge001.yaml EdgeTemplate: EgNet_edge001.yaml
UsePSKForInterEdge: true UsePSKForInterEdge: true
ResetEndPointInterval: 1 makResetEndPointInterval: 1
Peers: Peers:
- NodeID: 1 - NodeID: 1
Name: EgNet001 Name: EgNet001

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.17
require ( require (
git.fd.io/govpp.git v0.4.0 git.fd.io/govpp.git v0.4.0
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6 git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6
github.com/KusakabeSi/go-cache v0.1.0 github.com/KusakabeSi/go-cache v0.1.2
github.com/beevik/ntp v0.3.0 github.com/beevik/ntp v0.3.0
github.com/golang-jwt/jwt v3.2.2+incompatible github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/gopacket v1.1.19 github.com/google/gopacket v1.1.19

4
go.sum
View File

@ -2,8 +2,8 @@ git.fd.io/govpp.git v0.4.0 h1:u/hxo5rwTpwmR8ambm5Xtf1WXEeDyoYOrD2m8TKcD34=
git.fd.io/govpp.git v0.4.0/go.mod h1:OCVd4W8SH+666KRQoMj6PM+oipLDZAHhqMz9B1TGbgI= git.fd.io/govpp.git v0.4.0/go.mod h1:OCVd4W8SH+666KRQoMj6PM+oipLDZAHhqMz9B1TGbgI=
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6 h1:wVu7ZAT7q+1qNv1jFrz2KdVZ9Ar7TdxQXkIy79bQ4sI= git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6 h1:wVu7ZAT7q+1qNv1jFrz2KdVZ9Ar7TdxQXkIy79bQ4sI=
git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6/go.mod h1:GhryuN3x7qZ/wYLlEiPUVi6glJvh5S5V6E+XASV4774= git.fd.io/govpp.git/extras v0.0.0-20220117104425-000215c229d6/go.mod h1:GhryuN3x7qZ/wYLlEiPUVi6glJvh5S5V6E+XASV4774=
github.com/KusakabeSi/go-cache v0.1.0 h1:mBvbfa2UTNpabmtRMgrFtGtP1eoDIdIhwvNBHmNkEV8= github.com/KusakabeSi/go-cache v0.1.2 h1:AC9/8aDXFu+T6ZTnZ2wmOYQ37m6xQtiZvP6i1qiqxPc=
github.com/KusakabeSi/go-cache v0.1.0/go.mod h1:iBHb2ekH8Sd664wWzg/iRiVfY7YUxtcTJFcyZAmI32w= github.com/KusakabeSi/go-cache v0.1.2/go.mod h1:iBHb2ekH8Sd664wWzg/iRiVfY7YUxtcTJFcyZAmI32w=
github.com/KusakabeSi/go-ordered-map v0.3.0 h1:otxXn6Y45XJ9H8hrmmDyyNGpwPiqv498yTjz1Lqt/3s= github.com/KusakabeSi/go-ordered-map v0.3.0 h1:otxXn6Y45XJ9H8hrmmDyyNGpwPiqv498yTjz1Lqt/3s=
github.com/KusakabeSi/go-ordered-map v0.3.0/go.mod h1:LzZM9BuKwFnERm0vbakLnh3ycrEoWuwVOSN9/95aV3w= github.com/KusakabeSi/go-ordered-map v0.3.0/go.mod h1:LzZM9BuKwFnERm0vbakLnh3ycrEoWuwVOSN9/95aV3w=
github.com/beevik/ntp v0.3.0 h1:xzVrPrE4ziasFXgBVBZJDP0Wg/KpMwk2KHJ4Ba8GrDw= github.com/beevik/ntp v0.3.0 h1:xzVrPrE4ziasFXgBVBZJDP0Wg/KpMwk2KHJ4Ba8GrDw=