def sflow_collector_collector_port_number(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        sflow = ET.SubElement(config, "sflow", xmlns="urn:brocade.com:mgmt:brocade-sflow")
        collector = ET.SubElement(sflow, "collector")
        collector_ip_address_key = ET.SubElement(collector, "collector-ip-address")
        collector_ip_address_key.text = kwargs.pop('collector_ip_address')
        use_vrf_key = ET.SubElement(collector, "use-vrf")
        use_vrf_key.text = kwargs.pop('use_vrf')
        collector_port_number = ET.SubElement(collector, "collector-port-number")
        collector_port_number.text = kwargs.pop('collector_port_number')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def sflow_collector_collector_port_number ( self , ** kwargs ) : config = ET . Element ( "config" ) sflow = ET . SubElement ( config , "sflow" , xmlns = "urn:brocade.com:mgmt:brocade-sflow" ) collector = ET . SubElement ( sflow , "collector" ) collector_ip_address_key = ET . SubElement ( collector , "collector-ip-address" ) collector_ip_address_key . text = kwargs . pop ( 'collector_ip_address' ) use_vrf_key = ET . SubElement ( collector , "use-vrf" ) use_vrf_key . text = kwargs . pop ( 'use_vrf' ) collector_port_number = ET . SubElement ( collector , "collector-port-number" ) collector_port_number . text = kwargs . pop ( 'collector_port_number' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code