-
Notifications
You must be signed in to change notification settings - Fork 164
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
Edgeview api addition and image build #2680
Conversation
naiming-zededa
commented
Jun 17, 2022
- add eve build for edge-view
- add additional items in edge-view API to the controller
7ceee20
to
d029321
Compare
api/proto/config/edgeview.proto
Outdated
// Ext debug policy applicable to edge-view | ||
message ExtDebugAccessPolicy { | ||
// external of device side of edge-view access is allowed or not |
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.
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?
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.
'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
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.
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?
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.
may be 'ExternalEndPoints'
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.
WFM
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.
LGTM once the nits are fixed.
Signed-off-by: Naiming Shen <naiming@zededa.com>
Signed-off-by: Naiming Shen <naiming@zededa.com>
d029321
to
12afbae
Compare
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.
Run eden