discoveryProfile = {
'Name': 'discover_one_node.py',
'EngineID': orion_engine_id,
'ObjectSubType': 'SNMP',
'SNMPVersion': 3,
'SNMPV3Username': 'someblahusername',
'SNMPV3PrivMethod': 'AES128', # Set the desired privacy method
'SNMPV3PrivKeyIsPwd': True, # Indicate if the private key is a password
'SNMPV3PrivKey': 'blahblahblah', # Provide the private password
'SNMPV3AuthMethod': 'SHA1', # Set the authentication method
'SNMPV3AuthKeyIsPwd': True, # Indicate if the authentication key is a password
'SNMPV3AuthKey': 'blahblahblah', # Provide the authentication password
'DNS': '',
'SysName': 'someblahsystemname',
'Caption': 'someblahcaption'
'JobTimeoutSeconds': 3600,
'SearchTimeoutMiliseconds': 5000,
'SnmpTimeoutMiliseconds': 5000,
'SnmpRetries': 2,
'RepeatIntervalMiliseconds': 1800,
'SnmpPort': 161,
'HopCount': 0,
'PreferredSnmpVersion': 'SNMP3',
'DisableIcmp': False,
'AllowDuplicateNodes': False,
'IsAutoImport': True,
'IsHidden': True,
'PluginConfigurations': [{'PluginConfigurationItem': corePluginConfig}]
}
print("Running discovery...")
result = swis.invoke('Orion.Discovery', 'StartDiscovery', discoveryProfile)
print("Returned discovery result {}".format(result))