Forum Discussion

Michael_Yates's avatar
Michael_Yates
Icon for Nimbostratus rankNimbostratus
Nov 06, 2012

v11.1 and v11.2 get_template_list method XML Error

I am executing the LocalLBMonitor.get_template_list() method on both v11.1.x and v11.2.x and recieving an error:

 

 

There is an error in XML document (246, 74).

 

 

Works fine with v10.2.2 and v10.2.4.

 

Has anyone else encountered the same issue?

 

1 Reply

  • Hmm. Working for me . . . on 11.3.0 . . .

     

     

    >>> b.LocalLB.Monitor.get_template_list()

     

    [{'template_type': 'TTYPE_NONE', 'template_name': '/Common/none'}, {'template_type': 'TTYPE_DIAMETER', 'template_name': '/Common/diameter'}, {'template_type': 'TTYPE_EXTERNAL', 'template_name': '/Common/external'}, {'template_type': 'TTYPE_FIREPASS', 'template_name': '/Common/firepass'}, {'template_type': 'TTYPE_FTP', 'template_name': '/Common/ftp'}, {'template_type': 'TTYPE_GATEWAY_ICMP', 'template_name': '/Common/gateway_icmp'}, {'template_type': 'TTYPE_HTTP', 'template_name': '/Common/http'}, {'template_type': 'TTYPE_HTTPS', 'template_name': '/Common/https'}, {'template_type': 'TTYPE_ICMP', 'template_name': '/Common/icmp'}, {'template_type': 'TTYPE_IMAP', 'template_name': '/Common/imap'}, {'template_type': 'TTYPE_INBAND', 'template_name': '/Common/inband'}, {'template_type': 'TTYPE_LDAP', 'template_name': '/Common/ldap'}, {'template_type': 'TTYPE_MODULE_SCORE', 'template_name': '/Common/module_score'}, {'template_type': 'TTYPE_MSSQL', 'template_name': '/Common/mssql'}, {'template_type': 'TTYPE_MYSQL', 'template_name': '/Common/mysql'}, {'template_type': 'TTYPE_NNTP', 'template_name': '/Common/nntp'}, {'template_type': 'TTYPE_ORACLE', 'template_name': '/Common/oracle'}, {'template_type': 'TTYPE_POP3', 'template_name': '/Common/pop3'}, {'template_type': 'TTYPE_POSTGRESQL', 'template_name': '/Common/postgresql'}, {'template_type': 'TTYPE_RADIUS', 'template_name': '/Common/radius'}, {'template_type': 'TTYPE_RADIUS_ACCOUNTING', 'template_name': '/Common/radius_accounting'}, {'template_type': 'TTYPE_REAL_SERVER', 'template_name': '/Common/real_server'}, {'template_type': 'TTYPE_RPC', 'template_name': '/Common/rpc'}, {'template_type': 'TTYPE_SASP', 'template_name': '/Common/sasp'}, {'template_type': 'TTYPE_SCRIPTED', 'template_name': '/Common/scripted'}, {'template_type': 'TTYPE_SIP', 'template_name': '/Common/sip'}, {'template_type': 'TTYPE_SMB', 'template_name': '/Common/smb'}, {'template_type': 'TTYPE_SMTP', 'template_name': '/Common/smtp'}, {'template_type': 'TTYPE_SNMP_DCA', 'template_name': '/Common/snmp_dca'}, {'template_type': 'TTYPE_SNMP_DCA_BASE', 'template_name': '/Common/snmp_dca_base'}, {'template_type': 'TTYPE_SOAP', 'template_name': '/Common/soap'}, {'template_type': 'TTYPE_TCP', 'template_name': '/Common/tcp'}, {'template_type': 'TTYPE_TCP_ECHO', 'template_name': '/Common/tcp_echo'}, {'template_type': 'TTYPE_TCP_HALF_OPEN', 'template_name': '/Common/tcp_half_open'}, {'template_type': 'TTYPE_UDP', 'template_name': '/Common/udp'}, {'template_type': 'TTYPE_DNS', 'template_name': '/Common/dns'}, {'template_type': 'TTYPE_VIRTUAL_LOCATION', 'template_name': '/Common/virtual_location'}, {'template_type': 'TTYPE_WAP', 'template_name': '/Common/wap'}, {'template_type': 'TTYPE_WMI', 'template_name': '/Common/wmi'}]