def set_snmp(community, host=None, admin_username=None, admin_password=None):
 return __execute_cmd('config -g cfgOobSnmp -o cfgOobSnmpAgentCommunity {0}'.format(community), host=host, admin_username=admin_username, admin_password=admin_password)

def set_snmp ( community , host = None , admin_username = None , admin_password = None ) : return __execute_cmd ( 'config -g cfgOobSnmp -o cfgOobSnmpAgentCommunity {0}' . format ( community ) , host = host , admin_username = admin_username , admin_password = admin_password )
configure snmp community string cli example: .