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

Edgeview api addition and image build #2680

Merged
merged 2 commits into from
Jun 23, 2022

Conversation

naiming-zededa
Copy link
Contributor

  • add eve build for edge-view
  • add additional items in edge-view API to the controller

images/rootfs.yml.in Outdated Show resolved Hide resolved
Comment on lines 38 to 43
// Ext debug policy applicable to edge-view
message ExtDebugAccessPolicy {
// external of device side of edge-view access is allowed or not
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand what dev and app policies mean. What does "ext" mean? The comments are not clear.
Is this to access downstream aka southbound devices out e.g., eth1 on the EVE-OS edge-node?

Copy link
Contributor Author

@naiming-zededa naiming-zededa Jun 17, 2022

Choose a reason for hiding this comment

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

'ext' to mean the entity external to the device, e.g. a local-profile server on the LAN outside of mgmt or app-shared ports. since it's not part of EVE, and not part of EVE applications, so I think it should have it's own policy item. The current code, if tcp session setup is to an address we don't have, it has this:
https://github.com/lf-edge/eve/blob/master/pkg/edgeview/src/policy.go#L186

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add that text as comments in the API.
I don't know if it would be more clear to call it "ExternalDevice" or "ExternalIP". Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

may be 'ExternalEndPoints'

Copy link
Contributor

Choose a reason for hiding this comment

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

WFM

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 once the nits are fixed.

@naiming-zededa naiming-zededa changed the title Naiming edgeview api add Edgeview api addition and image build Jun 23, 2022
Signed-off-by: Naiming Shen <naiming@zededa.com>
Signed-off-by: Naiming Shen <naiming@zededa.com>
@naiming-zededa naiming-zededa force-pushed the naiming-edgeview-api-add branch from d029321 to 12afbae Compare June 23, 2022 10:47
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.

Run eden

@eriknordmark eriknordmark merged commit 7bdc6fc into lf-edge:master Jun 23, 2022
@naiming-zededa naiming-zededa deleted the naiming-edgeview-api-add branch June 23, 2022 21:32
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.

2 participants