def snmp_server_host_community(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
        host = ET.SubElement(snmp_server, "host")
        ip_key = ET.SubElement(host, "ip")
        ip_key.text = kwargs.pop('ip')
        community = ET.SubElement(host, "community")
        community.text = kwargs.pop('community')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def snmp_server_host_community ( self , ** kwargs ) : config = ET . Element ( "config" ) snmp_server = ET . SubElement ( config , "snmp-server" , xmlns = "urn:brocade.com:mgmt:brocade-snmp" ) host = ET . SubElement ( snmp_server , "host" ) ip_key = ET . SubElement ( host , "ip" ) ip_key . text = kwargs . pop ( 'ip' ) community = ET . SubElement ( host , "community" ) community . text = kwargs . pop ( 'community' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code