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

[연동 가능한 Provider 정보 제공 필요] #133

Closed
powerkimhub opened this issue Mar 4, 2020 · 1 comment
Closed

[연동 가능한 Provider 정보 제공 필요] #133

powerkimhub opened this issue Mar 4, 2020 · 1 comment

Comments

@powerkimhub
Copy link
Member

연동 가능한 Provider Name(CSP Name, Cloud Name) 정보 제공이 필요함.

  • (현재) 기준이 되는 Provider Name을 제공하지 않음.
  • (문제) Driver 등록 시 사용자가 대상 Provider 이름을 자유롭게 등록함.
    - Provider 이름에 대한 validation 불가
    - Provider Name이 일부 하드코딩되어 있음.
(예상) curl --request GET  {{ip}}:{{port}}/provider
[
  {
     "Provider": "AWS"
  },
  {
     "Provider": "AZURE"
  },
  {
     "Provider": "GCP"
  },
  {
     "Provider": "ALIBABA"
  },
  {
     "Provider": "CLOUDIT"
  },
  {
     "Provider": "OPENSTACK"
  }
]
@powerkimhub
Copy link
Member Author

Completed.

  • Provider 목록 => CloudOS 목록으로 변경 (OpenStack, Kubernetes 등 고려)
  • 제공하는 CloudOS 목록 관리: 동적 추가를 요하지 않는 부분 이므로 현재 yaml 파일로 설정
    -- https://github.com/cloud-barista/cb-spider/blob/master/cloud-info-manager/cloudos.yaml
  • ordered, upper 문자열로 제공
  • 적용 commit: 252f553
  • REST API 사용 예시
    curl -s --request GET node12:1024/cloudos |json_pp
    [
    "ALIBABA",
    "AWS",
    "AZURE",
    "CLOUDIT",
    "CLOUDTWIN",
    "GCP",
    "OPENSTACK"
    ]

powerkimhub pushed a commit that referenced this issue Sep 21, 2023
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

No branches or pull requests

1 participant