Auto Generated Code
542742
def show_firmware_version_output_show_firmware_version_firmware_full_version(self, **kwargs):
        
        config = ET.Element("config")
        show_firmware_version = ET.Element("show_firmware_version")
        config = show_firmware_version
        output = ET.SubElement(show_firmware_version, "output")
        show_firmware_version = ET.SubElement(output, "show-firmware-version")
        firmware_full_version = ET.SubElement(show_firmware_version, "firmware-full-version")
        firmware_full_version.text = kwargs.pop('firmware_full_version')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1325399
def l2traceroute_result_output_l2_hop_results_l2_hop_ingress_interface_name(self, **kwargs):
        
        config = ET.Element("config")
        l2traceroute_result = ET.Element("l2traceroute_result")
        config = l2traceroute_result
        output = ET.SubElement(l2traceroute_result, "output")
        l2_hop_results = ET.SubElement(output, "l2-hop-results")
        l2_hop = ET.SubElement(l2_hop_results, "l2-hop")
        ingress = ET.SubElement(l2_hop, "ingress")
        interface_name = ET.SubElement(ingress, "interface-name")
        interface_name.text = kwargs.pop('interface_name')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
561668
def maps_get_default_rules_output_rules_timebase(self, **kwargs):
        
        config = ET.Element("config")
        maps_get_default_rules = ET.Element("maps_get_default_rules")
        config = maps_get_default_rules
        output = ET.SubElement(maps_get_default_rules, "output")
        rules = ET.SubElement(output, "rules")
        timebase = ET.SubElement(rules, "timebase")
        timebase.text = kwargs.pop('timebase')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
611267
def fwdl_status_output_fwdl_entries_date_and_time_info(self, **kwargs):
        
        config = ET.Element("config")
        fwdl_status = ET.Element("fwdl_status")
        config = fwdl_status
        output = ET.SubElement(fwdl_status, "output")
        fwdl_entries = ET.SubElement(output, "fwdl-entries")
        date_and_time_info = ET.SubElement(fwdl_entries, "date-and-time-info")
        date_and_time_info.text = kwargs.pop('date_and_time_info')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
23116
def validate_input_source_config_source_url_url(self, **kwargs):
        
        config = ET.Element("config")
        validate = ET.Element("validate")
        config = validate
        input = ET.SubElement(validate, "input")
        source = ET.SubElement(input, "source")
        config_source = ET.SubElement(source, "config-source")
        url = ET.SubElement(config_source, "url")
        url = ET.SubElement(url, "url")
        url.text = kwargs.pop('url')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
948904
def confd_state_netconf_listen_tcp_port(self, **kwargs):
        
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        netconf = ET.SubElement(confd_state, "netconf")
        listen = ET.SubElement(netconf, "listen")
        tcp = ET.SubElement(listen, "tcp")
        port = ET.SubElement(tcp, "port")
        port.text = kwargs.pop('port')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1361192
def get_mac_address_table_input_request_type_get_interface_based_request_mac_type(self, **kwargs):
        
        config = ET.Element("config")
        get_mac_address_table = ET.Element("get_mac_address_table")
        config = get_mac_address_table
        input = ET.SubElement(get_mac_address_table, "input")
        request_type = ET.SubElement(input, "request-type")
        get_interface_based_request = ET.SubElement(request_type, "get-interface-based-request")
        mac_type = ET.SubElement(get_interface_based_request, "mac-type")
        mac_type.text = kwargs.pop('mac_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
658698
def get_config_input_source_config_source_candidate_candidate(self, **kwargs):
        
        config = ET.Element("config")
        get_config = ET.Element("get_config")
        config = get_config
        input = ET.SubElement(get_config, "input")
        source = ET.SubElement(input, "source")
        config_source = ET.SubElement(source, "config-source")
        candidate = ET.SubElement(config_source, "candidate")
        candidate = ET.SubElement(candidate, "candidate")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1286143
def get_stp_mst_detail_output_msti_instance_id(self, **kwargs):
        
        config = ET.Element("config")
        get_stp_mst_detail = ET.Element("get_stp_mst_detail")
        config = get_stp_mst_detail
        output = ET.SubElement(get_stp_mst_detail, "output")
        msti = ET.SubElement(output, "msti")
        instance_id = ET.SubElement(msti, "instance-id")
        instance_id.text = kwargs.pop('instance_id')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
154583
def bna_config_cmd_output_status_string(self, **kwargs):
        
        config = ET.Element("config")
        bna_config_cmd = ET.Element("bna_config_cmd")
        config = bna_config_cmd
        output = ET.SubElement(bna_config_cmd, "output")
        status_string = ET.SubElement(output, "status-string")
        status_string.text = kwargs.pop('status_string')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
830378
def nacm_rule_list_rule_access_operations(self, **kwargs):
        
        config = ET.Element("config")
        nacm = ET.SubElement(config, "nacm", xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm")
        rule_list = ET.SubElement(nacm, "rule-list")
        name_key = ET.SubElement(rule_list, "name")
        name_key.text = kwargs.pop('name')
        rule = ET.SubElement(rule_list, "rule")
        name_key = ET.SubElement(rule, "name")
        name_key.text = kwargs.pop('name')
        access_operations = ET.SubElement(rule, "access-operations")
        access_operations.text = kwargs.pop('access_operations')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
745701
def get_stp_mst_detail_output_cist_port_if_state(self, **kwargs):
        
        config = ET.Element("config")
        get_stp_mst_detail = ET.Element("get_stp_mst_detail")
        config = get_stp_mst_detail
        output = ET.SubElement(get_stp_mst_detail, "output")
        cist = ET.SubElement(output, "cist")
        port = ET.SubElement(cist, "port")
        if_state = ET.SubElement(port, "if-state")
        if_state.text = kwargs.pop('if_state')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
620239
def get_vmpolicy_macaddr_output_vmpolicy_macaddr_mac(self, **kwargs):
        
        config = ET.Element("config")
        get_vmpolicy_macaddr = ET.Element("get_vmpolicy_macaddr")
        config = get_vmpolicy_macaddr
        output = ET.SubElement(get_vmpolicy_macaddr, "output")
        vmpolicy_macaddr = ET.SubElement(output, "vmpolicy-macaddr")
        mac = ET.SubElement(vmpolicy_macaddr, "mac")
        mac.text = kwargs.pop('mac')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1359611
def confd_state_loaded_data_models_data_model_prefix(self, **kwargs):
        
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        loaded_data_models = ET.SubElement(confd_state, "loaded-data-models")
        data_model = ET.SubElement(loaded_data_models, "data-model")
        name_key = ET.SubElement(data_model, "name")
        name_key.text = kwargs.pop('name')
        prefix = ET.SubElement(data_model, "prefix")
        prefix.text = kwargs.pop('prefix')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
419447
def maps_get_rules_output_rules_monitor(self, **kwargs):
        
        config = ET.Element("config")
        maps_get_rules = ET.Element("maps_get_rules")
        config = maps_get_rules
        output = ET.SubElement(maps_get_rules, "output")
        rules = ET.SubElement(output, "rules")
        monitor = ET.SubElement(rules, "monitor")
        monitor.text = kwargs.pop('monitor')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1046631
def get_netconf_client_capabilities_output_session_af_type(self, **kwargs):
        
        config = ET.Element("config")
        get_netconf_client_capabilities = ET.Element("get_netconf_client_capabilities")
        config = get_netconf_client_capabilities
        output = ET.SubElement(get_netconf_client_capabilities, "output")
        session = ET.SubElement(output, "session")
        af_type = ET.SubElement(session, "af-type")
        af_type.text = kwargs.pop('af_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
326881
def show_ntp_output_node_active_server_ip4_6_or_local_ipv4_6_active_server(self, **kwargs):
        
        config = ET.Element("config")
        show_ntp = ET.Element("show_ntp")
        config = show_ntp
        output = ET.SubElement(show_ntp, "output")
        node_active_server = ET.SubElement(output, "node-active-server")
        ip4_6_or_local = ET.SubElement(node_active_server, "ip4-6-or-local")
        ipv4_6 = ET.SubElement(ip4_6_or_local, "ipv4-6")
        active_server = ET.SubElement(ipv4_6, "active-server")
        active_server.text = kwargs.pop('active_server')

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