Auto Generated Code
764041
def get_vlan_brief_output_vlan_vlan_name(self, **kwargs):
        
        config = ET.Element("config")
        get_vlan_brief = ET.Element("get_vlan_brief")
        config = get_vlan_brief
        output = ET.SubElement(get_vlan_brief, "output")
        vlan = ET.SubElement(output, "vlan")
        vlan_id_key = ET.SubElement(vlan, "vlan-id")
        vlan_id_key.text = kwargs.pop('vlan_id')
        vlan_name = ET.SubElement(vlan, "vlan-name")
        vlan_name.text = kwargs.pop('vlan_name')

        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)
902963
def confd_state_loaded_data_models_data_model_name(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 = ET.SubElement(data_model, "name")
        name.text = kwargs.pop('name')

        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)
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)
206984
def validate_input_source_config_source_candidate_candidate(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")
        candidate = ET.SubElement(config_source, "candidate")
        candidate = ET.SubElement(candidate, "candidate")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
1359182
def unlock_input_target_config_target_candidate_candidate(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")
        candidate = ET.SubElement(config_target, "candidate")
        candidate = ET.SubElement(candidate, "candidate")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
891905
def get_mac_address_table_output_has_more(self, **kwargs):
        
        config = ET.Element("config")
        get_mac_address_table = ET.Element("get_mac_address_table")
        config = get_mac_address_table
        output = ET.SubElement(get_mac_address_table, "output")
        has_more = ET.SubElement(output, "has-more")
        has_more.text = kwargs.pop('has_more')

        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)
533133
def maps_get_rules_output_rules_op(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")
        op = ET.SubElement(rules, "op")
        op.text = kwargs.pop('op')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
29129
def get_interface_detail_output_interface_port_mode(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')
        port_mode = ET.SubElement(interface, "port-mode")
        port_mode.text = kwargs.pop('port_mode')

        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)
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)
581286
def get_interface_detail_output_interface_ifHCOutMulticastPkts(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')
        ifHCOutMulticastPkts = ET.SubElement(interface, "ifHCOutMulticastPkts")
        ifHCOutMulticastPkts.text = kwargs.pop('ifHCOutMulticastPkts')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
456485
def copy_config_input_target_config_target_url_url(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")
        url = ET.SubElement(config_target, "url")
        url = ET.SubElement(url, "url")
        url.text = kwargs.pop('url')

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

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

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