TWSD-921 AWS HA CLI output format improvement. solutions are: Use js confirm function before the API is fired. check if ENI-ID is existed or not before actually perform adding configuration if the index if not exist, throw the exception, and print the error message

Review Request #978 — Created July 18, 2025 and updated

marychou
APV10
rel_apv_10_7
TWSD-921
lucille, shuinvy

Description:
1. While delete the configuration, it needs the confirmation pop-up like SLB real service one
2. Don't allow the ENI-ID exists in two configurations
3. Don't allow deleting the non-existed index, and show message while user trying to do this.
Root cause:

  1. Requirement changes
  2. Requirement changes
  3. Requirement changes

Solutions:

  1. Use js confirm function before the API is fired.
  2. check if ENI-ID is existed or not before actually perform adding configuration
  3. if the index if not exist, throw the exception, and print the error message

manually build the code
try deleting the configuration
try adding existed eni-id
try deleting the inex that is not existed

Loading...