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

Change switchdev config to json format #159

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

pliurh
Copy link
Collaborator

@pliurh pliurh commented Jul 8, 2021

  1. use json format for config file
  2. split VF creation and switchdev configuration in configure-switchdev.sh

@pliurh pliurh requested a review from zshi-redhat July 8, 2021 07:38
Interfaces []Interface `json:"interfaces"`
}

type Interface struct {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pliurh can we use the interface structure in sriovnetworknodestate API?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Although we don't support configuring all the flags now, we might support them in the future.

1. use json format for config file
2. split VF creation and switchdev configuration in configure-switchdev.sh
@zshi-redhat
Copy link
Collaborator

/lgtm

@github-actions github-actions bot added the lgtm label Jul 19, 2021
@pliurh pliurh merged commit 3ab6c04 into k8snetworkplumbingwg:master Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants