Auto Generated Code
510222
def get_vmpolicy_macaddr_output_vmpolicy_macaddr_port_nn(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")
        port_nn = ET.SubElement(vmpolicy_macaddr, "port-nn")
        port_nn.text = kwargs.pop('port_nn')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
139802
def get_mac_acl_for_intf_input_direction(self, **kwargs):
        
        config = ET.Element("config")
        get_mac_acl_for_intf = ET.Element("get_mac_acl_for_intf")
        config = get_mac_acl_for_intf
        input = ET.SubElement(get_mac_acl_for_intf, "input")
        direction = ET.SubElement(input, "direction")
        direction.text = kwargs.pop('direction')

        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)
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)
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)
1185562
def confd_state_internal_callpoints_callpoint_registration_type_range_path(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_key = ET.SubElement(callpoint, "id")
        id_key.text = kwargs.pop('id')
        registration_type = ET.SubElement(callpoint, "registration-type")
        range = ET.SubElement(registration_type, "range")
        path = ET.SubElement(range, "path")
        path.text = kwargs.pop('path')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
542933
def show_support_save_status_output_show_support_save_status_message(self, **kwargs):
        
        config = ET.Element("config")
        show_support_save_status = ET.Element("show_support_save_status")
        config = show_support_save_status
        output = ET.SubElement(show_support_save_status, "output")
        show_support_save_status = ET.SubElement(output, "show-support-save-status")
        message = ET.SubElement(show_support_save_status, "message")
        message.text = kwargs.pop('message')

        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)
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)
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)
1310324
def show_support_save_status_output_show_support_save_status_status(self, **kwargs):
        
        config = ET.Element("config")
        show_support_save_status = ET.Element("show_support_save_status")
        config = show_support_save_status
        output = ET.SubElement(show_support_save_status, "output")
        show_support_save_status = ET.SubElement(output, "show-support-save-status")
        status = ET.SubElement(show_support_save_status, "status")
        status.text = kwargs.pop('status')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
549087
def confd_state_internal_callpoints_typepoint_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")
        typepoint = ET.SubElement(callpoints, "typepoint")
        id = ET.SubElement(typepoint, "id")
        id.text = kwargs.pop('id')

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