brand new to python here so bear with me please. I am creating a script that has to perform backups for various devices. I have the following code:
def getOS():
if platform.system().upper() == 'JUNOS' :
os = "junos"
elif platform.system().upper() == "WIN32"
os = "windows"
elif platform.system().upper() == "DARWIN"
os = "mac"
return os
How can I test for Big-IP? Additionally is there a list somewhere of the potential results for platform.system()?
I'm aware of the similar post here and here, however I'm looking for specifically Big-IP