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

get connected hypervisors #1313

Merged
merged 3 commits into from
Jul 28, 2022
Merged

get connected hypervisors #1313

merged 3 commits into from
Jul 28, 2022

Conversation

mrpalide
Copy link
Contributor

Did you run make format && make check? Yes

Fixes #1306

Changes:

  • add new command to skywire-cli visor as chvpk that return connected hypervisor PKs

Note:
we have hvpk that return all hypervisor PKs that available in config file, but this command return list of connected hypervisor PKs

How to test this PR:

  • make build
  • add two hypervisor PK to config, once available to connect and other be mock
  • run visor
  • check hvpk by skywire-cli visor hvpk
  • check chvpk by skywire-cli visor chvpk
  • should seems like:
    [mohammed@manjaro skywire]$ ./skywire-cli visor hvpk
    [0218905f5d9079bab0b62985a05bd162623b193e948e17e7b719133f2c60b92093 036c0e89735c675abce702a3d46ad1bf736bd8236dbd734bfaf368959de2c2b967]
    [mohammed@manjaro skywire]$ ./skywire-cli visor chvpk
    [036c0e89735c675abce702a3d46ad1bf736bd8236dbd734bfaf368959de2c2b967]
    

@0pcom 0pcom self-requested a review July 26, 2022 17:17
Copy link
Collaborator

@0pcom 0pcom left a comment

Choose a reason for hiding this comment

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

works as described

image

@jdknives jdknives merged commit b97c3ee into skycoin:develop Jul 28, 2022
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