|
"prompt","code" |
|
"create a session","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session using userid and password as ""prasanna@ibm.com"" and ""12#45""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = ""abc@ibm.com""\npassword = ""12345""\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session using userid and password as ""abc@ibm.com"" and ""12345""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = ""abc@ibm.com""\npassword = ""12345""\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.47.75.157""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.47.75.157""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.37.44.217""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.37.44.217""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.57.21.765""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.57.21.765""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session using ""9.87.91.144"" as host","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.91.144""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.87.11.143"" using userid ""beta@gmail.com""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.11.143""\nuserid = ""beta@gmail.com""\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.47.75.157"" with userid ""bangalore@gmail.com""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.47.75.157""\nuserid = ""bangalore@gmail.com""\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on the host ""9.37.44.217"". Use ""bangalore@ibm.com"" as userid","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.37.44.217""\nuserid = ""bangalore@ibm.com""\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session where hmc ip is ""9.57.21.765"" ","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.57.21.765""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session with HMC ip as ""9.37.44.217"". Use ""bangalore@ibm.com"" as userid","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.37.44.217""\nuserid = ""bangalore@ibm.com""\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session taking inputs from the user","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session using user inputs","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on ""9.87.67.142""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.67.142""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session on ""9.87.67.142""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.67.142""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session . Host ip is ""9.87.91.144"" and userid is ""98765@ibm.com""","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.91.144""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"create a session with user inputs","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = input(""Enter HMC IP"")\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"Host ip is ""9.37.44.217"". Create session","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.37.44.217""\nuserid = input(""Enter user ID"")\npassword = input(""Enter password"")\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
"userid ""abc@gmail.com"". HMC ip is ""9.87.11.143"". Create session.","import requests.packages.urllib3\nimport zhmcclient\nrequests.packages.urllib3.disable_warnings()\nhost = ""9.87.11.143""\nuserid = ""abc@gmail.com""\npassword = ""12345""\nverify_cert = False\nsession = zhmcclient.Session(host, userid, password, verify_cert=verify_cert)" |
|
|