def port_profile_global_port_profile_static_mac_address(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        port_profile_global = ET.SubElement(config, "port-profile-global", xmlns="urn:brocade.com:mgmt:brocade-port-profile")
        port_profile = ET.SubElement(port_profile_global, "port-profile")
        name_key = ET.SubElement(port_profile, "name")
        name_key.text = kwargs.pop('name')
        static = ET.SubElement(port_profile, "static")
        mac_address = ET.SubElement(static, "mac-address")
        mac_address.text = kwargs.pop('mac_address')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def port_profile_global_port_profile_static_mac_address ( self , ** kwargs ) : config = ET . Element ( "config" ) port_profile_global = ET . SubElement ( config , "port-profile-global" , xmlns = "urn:brocade.com:mgmt:brocade-port-profile" ) port_profile = ET . SubElement ( port_profile_global , "port-profile" ) name_key = ET . SubElement ( port_profile , "name" ) name_key . text = kwargs . pop ( 'name' ) static = ET . SubElement ( port_profile , "static" ) mac_address = ET . SubElement ( static , "mac-address" ) mac_address . text = kwargs . pop ( 'mac_address' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code