00de2cb906
This is needed for doing host config for Neutron and OpenDaylight. Partial-Bug: 1704206 Change-Id: I7c10aa0351a26c10bef39b311c137209fb4ffb7e Signed-off-by: Tim Rozet <trozet@redhat.com>
10 lines
219 B
Ruby
10 lines
219 B
Ruby
Facter.add("ovs_uuid") do
|
|
confine :kernel => "Linux"
|
|
|
|
setcode do
|
|
if File.exist? '/usr/bin/ovs-vsctl'
|
|
ovs_ver = Facter::Core::Execution.exec('/usr/bin/ovs-vsctl get Open_vSwitch . _uuid')
|
|
end
|
|
end
|
|
end
|