def port_profile_qos_profile_qos_flowcontrol_pfc_pfc_tx(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        port_profile = ET.SubElement(config, "port-profile", xmlns="urn:brocade.com:mgmt:brocade-port-profile")
        name_key = ET.SubElement(port_profile, "name")
        name_key.text = kwargs.pop('name')
        qos_profile = ET.SubElement(port_profile, "qos-profile")
        qos = ET.SubElement(qos_profile, "qos")
        flowcontrol = ET.SubElement(qos, "flowcontrol")
        pfc = ET.SubElement(flowcontrol, "pfc")
        pfc_cos_key = ET.SubElement(pfc, "pfc-cos")
        pfc_cos_key.text = kwargs.pop('pfc_cos')
        pfc_tx = ET.SubElement(pfc, "pfc-tx")
        pfc_tx.text = kwargs.pop('pfc_tx')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def port_profile_qos_profile_qos_flowcontrol_pfc_pfc_tx ( self , ** kwargs ) : config = ET . Element ( "config" ) port_profile = ET . SubElement ( config , "port-profile" , xmlns = "urn:brocade.com:mgmt:brocade-port-profile" ) name_key = ET . SubElement ( port_profile , "name" ) name_key . text = kwargs . pop ( 'name' ) qos_profile = ET . SubElement ( port_profile , "qos-profile" ) qos = ET . SubElement ( qos_profile , "qos" ) flowcontrol = ET . SubElement ( qos , "flowcontrol" ) pfc = ET . SubElement ( flowcontrol , "pfc" ) pfc_cos_key = ET . SubElement ( pfc , "pfc-cos" ) pfc_cos_key . text = kwargs . pop ( 'pfc_cos' ) pfc_tx = ET . SubElement ( pfc , "pfc-tx" ) pfc_tx . text = kwargs . pop ( 'pfc_tx' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code