Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Updates based on review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Jul 25, 2017
1 parent 4f235bd commit 1ac4fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/command_syntax_usage.rst
Expand Up @@ -76,7 +76,7 @@ this contains a large amount of information about the operating system, hardware

- ``connection.host`` - The host address of the connection
- ``connection.port`` - The port used for the connection
- ``connection.uuid`` - An identifier for the connection either from subscription manager or generated
- ``connection.uuid`` - A generated identifier for the connection
- ``cpu.bogomips`` - measurement of CPU speed made by the Linux kernel
- ``cpu.count`` - number of processors
- ``cpu.cpu_family`` - cpu family
Expand Down
7 changes: 1 addition & 6 deletions library/run_cmds.py
Expand Up @@ -158,12 +158,7 @@ def execute_commands(self):

info_dict['connection.host'] = self.host
info_dict['connection.port'] = self.port

if ('subman.virt.uuid' not in info_dict or
info_dict['subman.virt.uuid'] == 'error'):
info_dict['connection.uuid'] = str(uuid.uuid4())
else:
info_dict['connection.uuid'] = info_dict['subman.virt.uuid']
info_dict['connection.uuid'] = str(uuid.uuid4())

return info_dict

Expand Down

0 comments on commit 1ac4fb1

Please sign in to comment.