@property<EOL><INDENT>def full_inventory(self):<DEDENT>
if self._full_inventory:<EOL><INDENT>return self._full_inventory<EOL><DEDENT>resp, inventory = self.get('<STR_LIT>')<EOL>keys = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>']<EOL>real_inventory = dict()<EOL>for host in inventory:<EOL><INDENT>real_inventory[host[<NUM_LIT:1>]] = dict()<EOL>for key in keys:<EOL><INDENT>real_inventory[host[<NUM_LIT:1>]][key] = host[keys.index(key)]<EOL><DEDENT><DEDENT>self._full_inventory = real_inventory<EOL>return self._full_inventory<EOL>
Returns a full inventory
Some additional work required to provide consistent and consumable
output.
Inventory output only contains values, no keys - Add the keys to
the output so that it can be consumed more easily.