def get_interface_switchport_output_switchport_acceptable_frame_type(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        get_interface_switchport = ET.Element("get_interface_switchport")
        config = get_interface_switchport
        output = ET.SubElement(get_interface_switchport, "output")
        switchport = ET.SubElement(output, "switchport")
        interface_type_key = ET.SubElement(switchport, "interface-type")
        interface_type_key.text = kwargs.pop('interface_type')
        interface_name_key = ET.SubElement(switchport, "interface-name")
        interface_name_key.text = kwargs.pop('interface_name')
        acceptable_frame_type = ET.SubElement(switchport, "acceptable-frame-type")
        acceptable_frame_type.text = kwargs.pop('acceptable_frame_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def get_interface_switchport_output_switchport_acceptable_frame_type ( self , ** kwargs ) : config = ET . Element ( "config" ) get_interface_switchport = ET . Element ( "get_interface_switchport" ) config = get_interface_switchport output = ET . SubElement ( get_interface_switchport , "output" ) switchport = ET . SubElement ( output , "switchport" ) interface_type_key = ET . SubElement ( switchport , "interface-type" ) interface_type_key . text = kwargs . pop ( 'interface_type' ) interface_name_key = ET . SubElement ( switchport , "interface-name" ) interface_name_key . text = kwargs . pop ( 'interface_name' ) acceptable_frame_type = ET . SubElement ( switchport , "acceptable-frame-type" ) acceptable_frame_type . text = kwargs . pop ( 'acceptable_frame_type' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code