-
Change Request
-
Resolution: Unresolved
-
Major
-
None
-
7.0.0beta3
Create a backup data element in a Dependent data element.
The main data element exists, but if there is no data in it, or the data cannot be obtained, then the dependent data element can obtain it from another data element.
This introduction can solve the problem of retrieving data on a host that has a primary channel (ip1) and a backup channel (ip2).
If there is such a host now, then you need to make two data elements that will receive the same information to the main IP and backup IP.
For example, if I receive a large output of several commands when connecting via SSH (ip1, ip2, serial number, firmware, etc.), then for this element I can create separate dependent data elements into which to distribute the information. Thus, in one request via ssh, I receive all the necessary data, rather than receiving each parameter in a separate request via ssh.
Thus it is now duplicated:
run.ssh(IP1) - and all its dependent elements
run.ssh(IP2) - and all its dependent elements
If you implement a "BACKUP Data Item" in a Dependent Data Item rather than just a "Primary Data Item", then you won't need to duplicate all the Dependent Data Items with the same information.