Auto Generated Code
435121
def fcoe_get_interface_output_fcoe_intf_list_fcoe_intf_time_since_last_change(self, **kwargs):
        
        config = ET.Element("config")
        fcoe_get_interface = ET.Element("fcoe_get_interface")
        config = fcoe_get_interface
        output = ET.SubElement(fcoe_get_interface, "output")
        fcoe_intf_list = ET.SubElement(output, "fcoe-intf-list")
        fcoe_intf_fcoe_port_id_key = ET.SubElement(fcoe_intf_list, "fcoe-intf-fcoe-port-id")
        fcoe_intf_fcoe_port_id_key.text = kwargs.pop('fcoe_intf_fcoe_port_id')
        fcoe_intf_time_since_last_change = ET.SubElement(fcoe_intf_list, "fcoe-intf-time-since-last-change")
        fcoe_intf_time_since_last_change.text = kwargs.pop('fcoe_intf_time_since_last_change')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
154360
def maps_get_default_rules_output_rules_rbridgeid(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")
        rbridgeid = ET.SubElement(rules, "rbridgeid")
        rbridgeid.text = kwargs.pop('rbridgeid')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
917445
def confd_state_loaded_data_models_data_model_revision(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')
        revision = ET.SubElement(data_model, "revision")
        revision.text = kwargs.pop('revision')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
236097
def nacm_rule_list_cmdrule_log_if_permit(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')
        cmdrule = ET.SubElement(rule_list, "cmdrule", xmlns="http://tail-f.com/yang/acm")
        name_key = ET.SubElement(cmdrule, "name")
        name_key.text = kwargs.pop('name')
        log_if_permit = ET.SubElement(cmdrule, "log-if-permit")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
416721
def get_interface_detail_output_interface_queuing_strategy(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')
        queuing_strategy = ET.SubElement(interface, "queuing-strategy")
        queuing_strategy.text = kwargs.pop('queuing_strategy')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
171292
def edit_config_input_target_config_target_candidate_candidate(self, **kwargs):
        
        config = ET.Element("config")
        edit_config = ET.Element("edit_config")
        config = edit_config
        input = ET.SubElement(edit_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)
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)
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)
249891
def show_firmware_version_output_show_firmware_version_node_info_is_active_cp(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")
        node_info = ET.SubElement(show_firmware_version, "node-info")
        is_active_cp = ET.SubElement(node_info, "is-active-cp")
        is_active_cp.text = kwargs.pop('is_active_cp')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
288035
def maps_get_default_rules_output_rules_rulename(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")
        rulename = ET.SubElement(rules, "rulename")
        rulename.text = kwargs.pop('rulename')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1235379
def get_mac_address_table_input_request_type_get_next_request_forwarding_interface_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_next_request = ET.SubElement(request_type, "get-next-request")
        forwarding_interface_type = ET.SubElement(get_next_request, "forwarding-interface-type")
        forwarding_interface_type.text = kwargs.pop('forwarding_interface_type')

        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)
529437
def nacm_rule_list_cmdrule_context(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')
        cmdrule = ET.SubElement(rule_list, "cmdrule", xmlns="http://tail-f.com/yang/acm")
        name_key = ET.SubElement(cmdrule, "name")
        name_key.text = kwargs.pop('name')
        context = ET.SubElement(cmdrule, "context")
        context.text = kwargs.pop('context')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
999266
def get_stp_mst_detail_output_has_more(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")
        has_more = ET.SubElement(output, "has-more")
        has_more.text = kwargs.pop('has_more')

        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)
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)
1333182
def get_interface_detail_output_interface_ifHCInOctets(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')
        ifHCInOctets = ET.SubElement(interface, "ifHCInOctets")
        ifHCInOctets.text = kwargs.pop('ifHCInOctets')

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