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

Assign VM ID (host ID) to cb-network agent #101

Closed
yunkon-kim opened this issue May 13, 2021 · 5 comments · Fixed by #102
Closed

Assign VM ID (host ID) to cb-network agent #101

yunkon-kim opened this issue May 13, 2021 · 5 comments · Fixed by #102
Assignees

Comments

@yunkon-kim
Copy link
Member

What would you like to be added
: A method to assign VM ID to the cb-network agent

Why is this needed
: It's because a host needs a unique VM ID to join the CLADNet and obtain an IP address.

@yunkon-kim yunkon-kim self-assigned this May 13, 2021
@yunkon-kim
Copy link
Member Author

(Suppose that an MCIS has 3 VMs)

[Plan]

  • Use CB-Tumblebug API as follows:
    • Send a command to specified VM - /ns/{nsId}/cmd/mcis/{mcisId}/vm/{vmId}
  • Call the API 3 times to assign the VM ID to the corresponding cb-network agent

@yunkon-kim
Copy link
Member Author

The base script for this: change-mcis-hostname.sh in CB-Tumblebug

@seokho-son
Copy link
Member

@hermitkim1

@yunkon-kim
Copy link
Member Author

yunkon-kim commented May 14, 2021

@seokho-son

정보 공유 감사합니다 🙏

두 스크립트 참고하여 MCIS에 cb-network agent 설치 진행해 보겠습니다 😄

자세히 보니 향후 CB-Tumblebug과 cb-network 결합 시 참고하면 좋을 것 같네요 ㅎㅎ

@yunkon-kim yunkon-kim linked a pull request May 17, 2021 that will close this issue
@yunkon-kim
Copy link
Member Author

This issue has been resolved.

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 a pull request may close this issue.

2 participants