Revert "[Refactor] Use hostnames instead of addresses in addPool/RemovePool"

This reverts commit b21f6683c62b629d8f15051d8430325f8c9189da.

Reason for revert: Backend has not landed

Original change's description:
> [Refactor] Use hostnames instead of addresses in addPool/RemovePool
>
> [Testing]
> Single dut:
> 1. Add white dut `jacuzzi/cozmo`(JC), input pool name `123`, check JC,
>    and press `Add`, pool `123` is added to JC.
>    JC -> 123
>
> 2. Input pool name `1234`, check JC, and press add, pool `1234` is
>    added to JC.
>    JC -> 123, 1234
>
> 3. Input pool name `12345`, check JC, and press remove, nothing
>    changes from JC.
>    JC -> 123, 1234
>
> 4. Input pool name `123`, check JC, and press remove, pool `123` is
>    removed from JC.
>    JC -> 1234
>
> Multiple Dut:
> 1. Add two white dut `atlas/atlas`(AA) & `hatch/jinlon`(HJ),
>    input pool name `123`, check all dut, and press `Add`, pool `123`
>    is added to all duts.
>    AA -> 123   HJ -> 123
>
> 2. Input pool name `1234`, check AA, and press `Add`, pool `1234`
>    is only added to AA.
>    AA -> 123, 1234   HJ -> 123
>
> 3. Input pool name `12345`, check all duts, and press `Add`, pool `12345`
>    is added to AA & HJ.
>    AA -> 123, 1234, 12345   HJ -> 123, 12345
>
> 4. Input pool name `123`, check all duts, and press `Remove`, pool `123`
>    is removed from AA & HJ.
>    AA -> 1234, 12345   HJ -> 12345
>
> 5. Input `12345`, check AA, and press `Remove`, pool `12345` is removed
>    from AA.
>    AA -> 1234   HJ -> 12345
>
> Red Dut & Orange Dut
> We have three dut, white, orange, and red.
> 1. Input pool name `abc`, check all duts, and press `Add`, pool `abc` is
>    added to white and orange duts.
> 2. Input pool name `abc`, check orange dut, and press `Remove`, pool
>    `abc` is removed from orange dut.
>
> BUG=b:300939313
> Test=manual
>
> Change-Id: I8006ce898e8229ea2cc98331eafffcec377da9c5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/satlab/+/5020199
> Reviewed-by: Varun Thammineni <varunth@google.com>
> Tested-by: Varun Thammineni <varunth@google.com>
> Commit-Queue: Varun Thammineni <varunth@google.com>

BUG=b:300939313

Change-Id: I0de71f86a64b4ea2a2728fb57d69d4f009596321
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/satlab/+/5534138
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Tested-by: Michal Matyjek <mmatyjek@google.com>
Commit-Queue: Michal Matyjek <mmatyjek@google.com>
Auto-Submit: Michal Matyjek <mmatyjek@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
3 files changed
tree: ad10d9410b5ab343a514743c58cf0b9ba79e6cc0
  1. os-dependent/
  2. src/
  3. .gitignore
  4. Makefile
  5. OWNERS