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

EVE Discovery service: move allow_to_discover to AppInst port #52

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

uncleDecart
Copy link
Member

This is more granular approach. From appInstance perspective,
you also know which network port will be used.

@uncleDecart uncleDecart requested review from gkodali-zededa and eriknordmark and removed request for eriknordmark April 16, 2024 06:43
@uncleDecart
Copy link
Member Author

I see yetus error

bufcompat:Previously present field "24" with name "allow_to_discover" on message "AppInstanceConfig" was deleted.

But I marked field 24 as reserved, not sure we should leave it there

@@ -55,6 +55,10 @@ message NetworkAdapter {
// valid vlan id range: 2 - 4093
// vlan id 1 is implicitly used by linux bridges
uint32 access_vlan_id = 41;

// allow AppInstance to discover other AppInstances
// attached to its network instances. default is false
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this say "to this network instance" in singular?
Or to the network instance attached to this adapter?

Copy link
Member Author

Choose a reason for hiding this comment

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

renamed to "this network instance"

Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM but some comment nits

This is more granular approach. From appInstance perspective,
you also know which network port will be used.

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
@eriknordmark eriknordmark merged commit 440c298 into lf-edge:main Apr 19, 2024
3 of 4 checks passed
uncleDecart added a commit to uncleDecart/eve-api that referenced this pull request Apr 22, 2024
PR lf-edge#46 accidently added allow_to_discover field to app_instance
which was removed in lf-edge#52

Not deprecating field number 25 (allow_to_discover) because we haven't
had released EVE with this API yet, so we don't have to do this

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
@uncleDecart uncleDecart mentioned this pull request Apr 22, 2024
eriknordmark pushed a commit that referenced this pull request Apr 23, 2024
PR #46 accidently added allow_to_discover field to app_instance
which was removed in #52

Not deprecating field number 25 (allow_to_discover) because we haven't
had released EVE with this API yet, so we don't have to do this

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
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.

3 participants