Auto Generated Code
196314
def threshold_monitor_hidden_threshold_monitor_sfp_policy_policy_name(self, **kwargs):
        
        config = ET.Element("config")
        threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor")
        threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor")
        sfp = ET.SubElement(threshold_monitor, "sfp")
        policy = ET.SubElement(sfp, "policy")
        policy_name = ET.SubElement(policy, "policy_name")
        policy_name.text = kwargs.pop('policy_name')

        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)
370256
def maps_get_rules_output_rules_timebase(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")
        timebase = ET.SubElement(rules, "timebase")
        timebase.text = kwargs.pop('timebase')

        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)
964586
def l2traceroute_result_output_l2_hop_results_l2_hop_egress_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")
        egress = ET.SubElement(l2_hop, "egress")
        interface_name = ET.SubElement(egress, "interface-name")
        interface_name.text = kwargs.pop('interface_name')

        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)
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)
389203
def bna_config_cmd_input_dest(self, **kwargs):
        
        config = ET.Element("config")
        bna_config_cmd = ET.Element("bna_config_cmd")
        config = bna_config_cmd
        input = ET.SubElement(bna_config_cmd, "input")
        dest = ET.SubElement(input, "dest")
        dest.text = kwargs.pop('dest')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1229727
def get_config_input_source_config_source_running_running(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")
        running = ET.SubElement(config_source, "running")
        running = ET.SubElement(running, "running")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1200320
def nacm_rule_list_rule_action(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')
        action = ET.SubElement(rule, "action")
        action.text = kwargs.pop('action')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
850568
def get_netconf_client_capabilities_output_session_version(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")
        version = ET.SubElement(session, "version")
        version.text = kwargs.pop('version')

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

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

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
453023
def nacm_rule_list_cmdrule_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')
        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')
        access_operations = ET.SubElement(cmdrule, "access-operations")
        access_operations.text = kwargs.pop('access_operations')

        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)
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)
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)