Auto Generated Code
16645
def get_portchannel_info_by_intf_output_lacp_system_priority(self, **kwargs):
        
        config = ET.Element("config")
        get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf")
        config = get_portchannel_info_by_intf
        output = ET.SubElement(get_portchannel_info_by_intf, "output")
        lacp = ET.SubElement(output, "lacp")
        system_priority = ET.SubElement(lacp, "system-priority")
        system_priority.text = kwargs.pop('system_priority')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
888174
def confd_state_netconf_listen_ssh_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")
        ssh = ET.SubElement(listen, "ssh")
        port = ET.SubElement(ssh, "port")
        port.text = kwargs.pop('port')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1117752
def netconf_state_statistics_netconf_start_time(self, **kwargs):
        
        config = ET.Element("config")
        netconf_state = ET.SubElement(config, "netconf-state", xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring")
        statistics = ET.SubElement(netconf_state, "statistics")
        netconf_start_time = ET.SubElement(statistics, "netconf-start-time")
        netconf_start_time.text = kwargs.pop('netconf_start_time')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1127897
def unlock_input_target_config_target_startup_startup(self, **kwargs):
        
        config = ET.Element("config")
        unlock = ET.Element("unlock")
        config = unlock
        input = ET.SubElement(unlock, "input")
        target = ET.SubElement(input, "target")
        config_target = ET.SubElement(target, "config-target")
        startup = ET.SubElement(config_target, "startup")
        startup = ET.SubElement(startup, "startup")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1363984
def confd_state_loaded_data_models_data_model_exported_exported_to_all_exported_to_all(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')
        exported = ET.SubElement(data_model, "exported")
        exported_to_all = ET.SubElement(exported, "exported-to-all")
        exported_to_all = ET.SubElement(exported_to_all, "exported-to-all")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
62218
def confd_state_internal_callpoints_snmp_inform_callback_id(self, **kwargs):
        
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        callpoints = ET.SubElement(internal, "callpoints")
        snmp_inform_callback = ET.SubElement(callpoints, "snmp-inform-callback")
        id = ET.SubElement(snmp_inform_callback, "id")
        id.text = kwargs.pop('id')

        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)
500765
def confd_state_internal_callpoints_callpoint_id(self, **kwargs):
        
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        callpoints = ET.SubElement(internal, "callpoints")
        callpoint = ET.SubElement(callpoints, "callpoint")
        id = ET.SubElement(callpoint, "id")
        id.text = kwargs.pop('id')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
311115
def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_stp_stp_root_bridge_priority(self, **kwargs):
        
        config = ET.Element("config")
        get_stp_brief_info = ET.Element("get_stp_brief_info")
        config = get_stp_brief_info
        output = ET.SubElement(get_stp_brief_info, "output")
        spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
        spanning_tree_mode = ET.SubElement(spanning_tree_info, "spanning-tree-mode")
        stp = ET.SubElement(spanning_tree_mode, "stp")
        stp = ET.SubElement(stp, "stp")
        root_bridge = ET.SubElement(stp, "root-bridge")
        priority = ET.SubElement(root_bridge, "priority")
        priority.text = kwargs.pop('priority')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
483200
def l2traceroute_result_output_l2_hop_results_l2_hop_egress_interface_type(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")
        egress = ET.SubElement(l2_hop, "egress")
        interface_type = ET.SubElement(egress, "interface-type")
        interface_type.text = kwargs.pop('interface_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
413092
def bna_config_cmd_output_status(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 = ET.SubElement(output, "status")
        status.text = kwargs.pop('status')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
439332
def copy_config_input_target_config_target_candidate_candidate(self, **kwargs):
        
        config = ET.Element("config")
        copy_config = ET.Element("copy_config")
        config = copy_config
        input = ET.SubElement(copy_config, "input")
        target = ET.SubElement(input, "target")
        config_target = ET.SubElement(target, "config-target")
        candidate = ET.SubElement(config_target, "candidate")
        candidate = ET.SubElement(candidate, "candidate")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
947260
def get_interface_detail_output_interface_ifindex(self, **kwargs):
        
        config = ET.Element("config")
        get_interface_detail = ET.Element("get_interface_detail")
        config = get_interface_detail
        output = ET.SubElement(get_interface_detail, "output")
        interface = ET.SubElement(output, "interface")
        interface_type_key = ET.SubElement(interface, "interface-type")
        interface_type_key.text = kwargs.pop('interface_type')
        interface_name_key = ET.SubElement(interface, "interface-name")
        interface_name_key.text = kwargs.pop('interface_name')
        ifindex = ET.SubElement(interface, "ifindex")
        ifindex.text = kwargs.pop('ifindex')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
377113
def start_transaction_input_target_target_running_running(self, **kwargs):
        
        config = ET.Element("config")
        start_transaction = ET.Element("start_transaction")
        config = start_transaction
        input = ET.SubElement(start_transaction, "input")
        target = ET.SubElement(input, "target")
        target = ET.SubElement(target, "target")
        running = ET.SubElement(target, "running")
        running = ET.SubElement(running, "running")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
510121
def confd_state_internal_cdb_client_info(self, **kwargs):
        
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        cdb = ET.SubElement(internal, "cdb")
        client = ET.SubElement(cdb, "client")
        info = ET.SubElement(client, "info")
        info.text = kwargs.pop('info')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1047710
def set_http_application_url_input_config_http_app_url_op_type(self, **kwargs):
        
        config = ET.Element("config")
        set_http_application_url = ET.Element("set_http_application_url")
        config = set_http_application_url
        input = ET.SubElement(set_http_application_url, "input")
        config_http_app_url = ET.SubElement(input, "config-http-app-url")
        op_type = ET.SubElement(config_http_app_url, "op-type")
        op_type.text = kwargs.pop('op_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
335327
def get_interface_detail_output_interface_line_protocol_state(self, **kwargs):
        
        config = ET.Element("config")
        get_interface_detail = ET.Element("get_interface_detail")
        config = get_interface_detail
        output = ET.SubElement(get_interface_detail, "output")
        interface = ET.SubElement(output, "interface")
        interface_type_key = ET.SubElement(interface, "interface-type")
        interface_type_key.text = kwargs.pop('interface_type')
        interface_name_key = ET.SubElement(interface, "interface-name")
        interface_name_key.text = kwargs.pop('interface_name')
        line_protocol_state = ET.SubElement(interface, "line-protocol-state")
        line_protocol_state.text = kwargs.pop('line_protocol_state')

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