Skip to content
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

Merged
merged 6 commits into from
Mar 22, 2022

Conversation

denis-tingaikin
Copy link
Member

@denis-tingaikin denis-tingaikin commented Mar 20, 2022

Motivation

Closes #1
Closes #2
Closes #3

glazychev-art and others added 3 commits February 17, 2022 18:08
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
@denis-tingaikin denis-tingaikin marked this pull request as ready for review March 21, 2022 22:48
main.go Outdated

// Config holds configuration parameters from environment variables
type Config struct {
Name string `default:"icmp-server" desc:"Name of ICMP Server"`
Copy link
Member

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?

Copy link
Member Author

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"`
Copy link
Member

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?

Copy link
Member Author

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"`
Copy link
Member

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

Copy link
Member Author

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 <denis.tingajkin@xored.com>
@edwarnicke edwarnicke merged commit a41358f into networkservicemesh:main Mar 22, 2022
nsmbot pushed a commit that referenced this pull request Jun 26, 2023
…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 <nsmbot@networkservicmesh.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simultaneous creation of multiple vl3-NSEs Create cmd-nse-vl3-vpp
3 participants