This commit allows specifying the endpoint URL when creating a
FmClient instance. This eliminates the need for the 'get_endpoint()'
call within FmClient, avoiding an unnecessary request.
Test plan:
1. PASS: Unmanage a subcloud and verify that all sync status, except
dc-cert are moved to unknown.
2. PASS: Manage a subcloud and verify that all sync status are in-sync.
3. PASS: Turn a subcloud off and verify that its availability and sync
status are updated.
4. PASS: Turn a subcloud on and verify that its availability and sync
status are updated.
5. PASS: Run dcmanager subcloud show when executing all of the steps
above and verify that the firmware audit is updated correctly.
6. PASS: Apply a development patch in all of the subclouds and verify
that they complete.
Story: 2011106
Task: 50412
Change-Id: I31469ac25495dbef316134c3830b510665ac41bc
Signed-off-by: Raphael Lima <Raphael.Lima@windriver.com>