Skip to content

Tidy TbNLBReq fields - #1197

Merged
seokho-son merged 1 commit into
cloud-barista:mainfrom
jihoon-seo:221013_Tidy_TbNLBReq_fields
Oct 13, 2022
Merged

seokho-son merged 1 commit into
cloud-barista:mainfrom
jihoon-seo:221013_Tidy_TbNLBReq_fields

Conversation

@jihoon-seo

Copy link
Copy Markdown
Member
  • SP NLB Req/Info, TB NLB Req/Info 의 하위 struct들 (Listener, HealthChecker, VMGroup/TargetGroup) 을
    공유하여 활용하던 부분이 있었는데
    이를 SP ↔ TB // Req ↔ Info 간 대부분 분리했습니다.
  • TB NLB Req 의 다음 필드를 삭제했습니다. (src/testclient/scripts/10.nlb/create-NLB.sh 의 diff 참조)
    • name: targetGroup.vmGroupId 필드의 값을 그대로 활용합니다.
    • connectionName: 사용자가 명시한 TB VMGroup에 속한 VM에 기재되어 있는 값을 활용합니다.
    • vNetId: 사용자가 명시한 TB VMGroup에 속한 VM에 기재되어 있는 값을 활용합니다.
    • listener.DNSName 은 불필요한 필드였습니다. 따라서 테스트 스크립트에서 삭제했습니다.
    • HealthChecker 의 Protocol & Port 는 논리상 targetGroup 의 그것들과 동일해야 하므로,
      Req 의 HealthChecker 에서는 해당 필드를 삭제하고
      targetGroup 의 Protocol & Port 필드의 값을 그대로 활용하도록 변경했습니다.

@lgtm-com

lgtm-com Bot commented Oct 13, 2022

Copy link
Copy Markdown

This pull request introduces 1 alert when merging dd8be67 into abe3d71 - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

@jihoon-seo
jihoon-seo force-pushed the 221013_Tidy_TbNLBReq_fields branch from dd8be67 to ba2289b Compare October 13, 2022 04:03
@seokho-son

Copy link
Copy Markdown
Member

/approve

@seokho-son
seokho-son merged commit 085d8ef into cloud-barista:main Oct 13, 2022
This was linked to issues Oct 13, 2022
@jihoon-seo
jihoon-seo deleted the 221013_Tidy_TbNLBReq_fields branch October 20, 2022 02:23
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.

Enhance NLB mgmt feature Add NLB capability to MCIS

2 participants