def port_profile_vlan_profile_switchport_mode_vlan_mode(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')
        vlan_profile = ET.SubElement(port_profile, "vlan-profile")
        switchport = ET.SubElement(vlan_profile, "switchport")
        mode = ET.SubElement(switchport, "mode")
        vlan_mode = ET.SubElement(mode, "vlan-mode")
        vlan_mode.text = kwargs.pop('vlan_mode')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)