Skip to content

Commit

Permalink
New xvs version which uses nested maps for flow state
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcoles committed Jun 18, 2024
1 parent 3abaf6f commit f719b57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/davidcoles/cue v0.0.13
github.com/davidcoles/xvs v0.1.13
github.com/davidcoles/xvs v0.1.14
github.com/elastic/go-elasticsearch/v7 v7.17.10
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github.com/davidcoles/cue v0.0.13 h1:7fsH9he0s9R5Yk05GvKuGH7HtJ4xGFsVTuFp4NnUKpw=
github.com/davidcoles/cue v0.0.13/go.mod h1:uUTkCvlkD+nqbmP9XyA63BGMW3g3JJRYC0q8vJKSXMc=
github.com/davidcoles/xvs v0.1.13 h1:nPVp0TXhP0Ccr3euEeUNYSUdW4RVLgSGzfFyKmB2s+c=
github.com/davidcoles/xvs v0.1.13/go.mod h1:NQg6Ob9zLr49qH3I6E6zqnGp4tVBu4cT/3vXUB2XA8w=
github.com/davidcoles/xvs v0.1.14 h1:wuqpzokx10HyyKIAp/SZHRBe4Sq4HxH7LMze9JzmvQI=
github.com/davidcoles/xvs v0.1.14/go.mod h1:NQg6Ob9zLr49qH3I6E6zqnGp4tVBu4cT/3vXUB2XA8w=
github.com/elastic/go-elasticsearch/v7 v7.17.10 h1:TCQ8i4PmIJuBunvBS6bwT2ybzVFxxUhhltAs3Gyu1yo=
github.com/elastic/go-elasticsearch/v7 v7.17.10/go.mod h1:OJ4wdbtDNk5g503kvlHLyErCgQwwzmDtaFC4XyOxXA4=
3 changes: 2 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func main() {
addr := flag.String("a", "", "address")
native := flag.Bool("n", false, "Native mode XDP")
asn := flag.Uint("A", 0, "Autonomous system number for loopback peer")
delay := flag.Uint("D", 0, "Delay between initialisaton of interfaces")

flag.Parse()

Expand Down Expand Up @@ -150,8 +151,8 @@ func main() {
Address: address,
Native: *native,
VLANs: config.vlans(),
InitDelay: uint8(*delay),
NAT: true,
Share: config.Multicast != "",
Debug: &Debug{Log: logs.sub("xvs")},
}

Expand Down

0 comments on commit f719b57

Please sign in to comment.