-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement initial version of cmd-nse-vl3-vpp #4
feat: implement initial version of cmd-nse-vl3-vpp #4
Conversation
Signed-off-by: Artem Glazychev <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: denis-tingaikin <[email protected]>
main.go
Outdated
|
||
// Config holds configuration parameters from environment variables | ||
type Config struct { | ||
Name string `default:"icmp-server" desc:"Name of ICMP Server"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this called icmp-server?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
main.go
Outdated
ListenOn string `default:"listen.on.sock" desc:"listen on socket" split_words:"true"` | ||
ConnectTo url.URL `default:"unix:///var/lib/networkservicemesh/nsm.io.sock" desc:"url to connect to" split_words:"true"` | ||
MaxTokenLifetime time.Duration `default:"10m" desc:"maximum lifetime of tokens" split_words:"true"` | ||
ServiceNames []string `default:"icmp-responder" desc:"Name of providing service" split_words:"true"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this default to I map server?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
main.go
Outdated
ConnectTo url.URL `default:"unix:///var/lib/networkservicemesh/nsm.io.sock" desc:"url to connect to" split_words:"true"` | ||
MaxTokenLifetime time.Duration `default:"10m" desc:"maximum lifetime of tokens" split_words:"true"` | ||
ServiceNames []string `default:"icmp-responder" desc:"Name of providing service" split_words:"true"` | ||
Payload string `default:"IP" desc:"Name of provided service payload" split_words:"true"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should always be IP for vL3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
Signed-off-by: denis-tingaikin <[email protected]>
…vpp@main PR link: https://github.com/networkservicemesh/govpp/pull/ Commit: fc47696 Author: Denis Tingaikin Date: 2023-06-26 12:28:21 +0300 Message: - Merge pull request #4 from glazychev-art/generate Signed-off-by: NSMBot <[email protected]>
Motivation
Closes #1
Closes #2
Closes #3