def _get_current_rewrite_config(self, interface):
    current_interface_qos_config = self._current_config.get(interface)
    current_rewrite_pcp = current_interface_qos_config.get('rewrite_pcp')
    current_rewrite_dscp = current_interface_qos_config.get('rewrite_dscp')
    if_type = current_interface_qos_config.get('if_type')
    if_id = current_interface_qos_config.get('if_id')
    current_trust = current_interface_qos_config.get('trust')
    return (current_rewrite_pcp, current_rewrite_dscp, current_trust, if_type, if_id)
def _get_current_rewrite_config(self, interface):
    current_interface_qos_config = self._current_config.get(interface)
    current_rewrite_pcp = current_interface_qos_config.get('rewrite_pcp')
    current_rewrite_dscp = current_interface_qos_config.get('rewrite_dscp')
    if_type = current_interface_qos_config.get('if_type')
    if_id = current_interface_qos_config.get('if_id')
    current_trust = current_interface_qos_config.get('trust')
    return (current_rewrite_pcp, current_rewrite_dscp, current_trust, if_type, if_id)