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

Improve standalone CNF component detection #129

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

pemoticak
Copy link
Collaborator

@pemoticak pemoticak commented Sep 20, 2023

Currently there is no good way to determine that a container running in StoneWork Docker Compose project is a standalone CNF. Therefore we use a heuristic: if it is not StoneWork or a StoneWork module but it still contains running instance of vpp-agent then it is a standalone CNF. For now we check only the default vpp-agent HTTP port to see if vpp-agent is running which determines if we classify it as a standalone CNF or an auxiliary container.
Also improve table output of swctl status command to show IP address and default ports of the standalone CNF.

Signed-off-by: Peter Motičák [email protected]

Signed-off-by: Peter Motičák <[email protected]>
Copy link
Collaborator

@fgschwan fgschwan left a comment

Choose a reason for hiding this comment

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

It probably can be done by exposing status from CNF similar like Stonework exposes its status with maybe some additional information. For now, this enhancement is good enough.

@fgschwan fgschwan merged commit 171ce3e into PANTHEONtech:main Sep 21, 2023
4 checks passed
@pemoticak pemoticak deleted the fix-addr branch October 5, 2023 13:45
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