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

OpenStack hypervisor uptime 커맨드 구현 완료 #21

Closed
RyanKor opened this issue Nov 5, 2021 · 2 comments
Closed

OpenStack hypervisor uptime 커맨드 구현 완료 #21

RyanKor opened this issue Nov 5, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@RyanKor
Copy link
Owner

RyanKor commented Nov 5, 2021

오늘 문득 오픈스택 커맨드 팀원들과 개발했던 내용들을 한 번 쭉 돌아보면서, 문득 빠르게 구현할 수 있을 것 같이 보였던 Nova 컴포넌트의 하이퍼 바이저 관련 모듈이 눈에 들어와서, 아무 생각 없이 구현을 시작했다.

(컨트리뷰션은 이미 종료되었다)

구현을 자정부터 시작해서 현재 시각 새벽 2시 13분, 코드를 2시간도 안되서 테스트 코드까지 모두 작성하고 커밋까지 했다.

미친건가? 첫번째 openstack task list #18 이거 구현할 때 3주 걸렸는데, 이제 코드 구조가 눈에 익어서 그런지 2시간만에 구현했다.

100줄도 안되는 코드이기는 하지만, 어디를 보고 구현해야하는지 명확하게 이해하고 있던 점, 그리고 테스트 코드로 무엇을 테스트할지 명확하게 이해하고 있던 점 등이 빠른 코드 구현을 가능하게 했다.

이것으로 오픈스택 커맨드를 2번째 개발하게 되었고, 내 생각인데 지금 아직 구현 안되어 있는 커맨드들 중에 SDK에 관련 API만 연동 잘 되어 있으면 조금 더 커맨드 개발을 해 볼 수 있을 것 같다.

https://review.opendev.org/c/openstack/python-openstackclient/+/816864

image

이쯤되니 개발하는 게 신난다.

@RyanKor RyanKor self-assigned this Nov 5, 2021
@RyanKor RyanKor closed this as completed Nov 5, 2021
@RyanKor
Copy link
Owner Author

RyanKor commented Nov 5, 2021

image

CI 테스트 자동화 결과까지 아침에 자고 일어나보니 한 번에 통과,,, 이제 2개의 커맨드를 스스로 개발하고 기여하게 되었다...

컨트리뷰션 기간 동안에 주로 기여했던 것은 Glance API 부분이었는데, 어떤 컴포넌트의 CLI 통합인지는 관계없이 이제 CLI 컴포넌트를 이해한 느낌이다.

행복하다.

@RyanKor
Copy link
Owner Author

RyanKor commented Nov 6, 2021

커맨드 개발 관련 후기 글 링크

@RyanKor RyanKor added documentation Improvements or additions to documentation enhancement New feature or request and removed documentation Improvements or additions to documentation labels Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant