This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_client = { | |
url: ENV['ONEVIEWSDK_URL'], | |
user: ENV['ONEVIEWSDK_USER'], | |
password: ENV['ONEVIEWSDK_PASSWORD'], | |
ssl_enabled: false, | |
api_version: 300 | |
} | |
oneview_server_profile_template 'Chef-DCOS-SPT' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_client = { | |
url: ENV['ONEVIEWSDK_URL'], | |
user: ENV['ONEVIEWSDK_USER'], | |
password: ENV['ONEVIEWSDK_PASSWORD'], | |
ssl_enabled: false, | |
api_version: 300 | |
} | |
oneview_server_hardware "F2-CN7515049D, bay 8" do | |
client my_client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from config_loader import try_load_from_file | |
from hpOneView.oneview_client import OneViewClient | |
from threading import Thread | |
oneview_client = OneViewClient(try_load_from_file(None)) | |
template = { | |
"connectionTemplateUri": None, | |
"autoLoginRedistribution": True, |