4 Commits

Author SHA1 Message Date
Kostiantyn Kalynovskyi
8958d7093c Add general inventory interface implementation
This commit also adds function to be used with command line pkg

Change-Id: Ifdebfd62817b071f06cad90a14897fda63808a7a
2021-01-21 23:18:55 +00:00
Kostiantyn Kalynovskyi
fa03b40f4a Implement RunAction method of the baremetal interface
Change-Id: I86b2cd7824c68ccd4fac875a5ad1d3ff9cd69072
Relates-To: #397
Relates-To: #362
Relates-To: #359
2021-01-08 03:25:25 +00:00
Kostiantyn Kalynovskyi
4698abad49 Add baremetal inventory implementation.
The implementation is inspired by pkg/remote module, and evolves
it to be built on top of document bundles as well as makes it
more command line oriented by adding RunOperation method.

Change-Id: If95a007986eb61c977c1ddbe5a94cfbeefeac225
Relates-To: #397
Relates-To: #362
Relates-To: #359
2020-12-03 12:41:56 -06:00
Kostiantyn Kalynovskyi
d05579b4a4 Add inventory interface definition
This interface will be used by executors and other
commands to interact with remote hosts.

It is split into generic inventory and BaremetalInventory to
keep open door for cloud providers. In the future, if we
decide to that we need, for example list VMs in google, azure,
openstack or any other clouds, we would extend inventory interface
with approprate more sepcific inventory such as OpenstackInventory
etc...

Relates-To: #297

Change-Id: Ie19ed6047390e09a658c1e943b5e83d88e9668bf
2020-11-11 16:24:38 +00:00