{% extends 'base.html' %} {% load static %} {% load math_tags %} {% block title %}Complete Price List{% endblock %} {% block extra_js %} {% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Complete Price List - All Service Variants

Filters
Clear Filters
{% if filter_cloud_provider or filter_service or filter_compute_plan_group or filter_service_level or show_discount_details or show_addon_details or show_price_comparison %}
Active Filters:
    {% if filter_cloud_provider %}
  • Cloud Provider: {{ filter_cloud_provider }}
  • {% endif %} {% if filter_service %}
  • Service: {{ filter_service }}
  • {% endif %} {% if filter_compute_plan_group %}
  • Group: {{ filter_compute_plan_group }}
  • {% endif %} {% if filter_service_level %}
  • Service Level: {{ filter_service_level }}
  • {% endif %} {% if show_discount_details %}
  • Discount Details
  • {% endif %} {% if show_addon_details %}
  • Addon Details
  • {% endif %} {% if show_price_comparison %}
  • Price Comparisons
  • {% endif %}
{% endif %} {% if pricing_data_by_group_and_service_level %} {% for group_name, service_levels in pricing_data_by_group_and_service_level.items %}

{{ group_name }}

{# Display group description and node_label from first available plan #} {% for service_level, pricing_data in service_levels.items %} {% if pricing_data and forloop.first %} {% with pricing_data.0 as representative_plan %} {# Display storage pricing for this cloud provider #} {% if representative_plan.storage_plans %}

Storage Options

{% for storage_plan in representative_plan.storage_plans %} {% endfor %}
Storage Plan Term Unit Prices
{{ storage_plan.name }} {{ storage_plan.get_term_display }} {{ storage_plan.get_unit_display }} {% for price in storage_plan.prices.all %} {{ price.amount }} {{ price.currency }} {% empty %} No prices {% endfor %}
{% endif %} {% endwith %} {% endif %} {% endfor %} {% for service_level, pricing_data in service_levels.items %}

SLA: {{ service_level }}

{% if pricing_data %} {# Display common values for this service level #} {% with pricing_data.0 as first_row %}
  • Cloud Provider: {{ first_row.cloud_provider }}
  • Service: {{ first_row.service }}
  • CPU/Memory Ratio: {{ first_row.cpu_mem_ratio }}
  • Variable Unit: {{ first_row.variable_unit }}
  • Replica Enforce: {{ first_row.replica_enforce }}
{# Display add-on summary #} {% if show_addon_details and first_row.mandatory_addons or first_row.optional_addons %}
{% if first_row.mandatory_addons %}
Mandatory Add-ons (included in all plans):
{% for addon in first_row.mandatory_addons %}
{{ addon.name }}
{{ addon.commercial_description|default:addon.description }}
{{ addon.price|floatformat:2 }} {{ first_row.currency }}
{{ addon.addon_type }}
{% endfor %}
{% endif %} {% if first_row.optional_addons %}
Optional Add-ons (can be added):
{% for addon in first_row.optional_addons %}
{{ addon.name }}
{{ addon.commercial_description|default:addon.description }}
{{ addon.price|floatformat:2 }} {{ first_row.currency }}
{{ addon.addon_type }}
{% endfor %}
{% endif %}
{% endif %} {% endwith %}
Final Price Calculation:
Compute Plan Price + SLA Base + Units × SLA Per Unit + Mandatory Add-ons = Final Price
{% if show_addon_details %} {% endif %} {% if show_discount_details %} {% endif %} {% if show_price_comparison %} {% endif %} {% for row in pricing_data %} {% if show_addon_details %} {% endif %} {% if show_discount_details %} {% endif %} {% if show_price_comparison %} {% endif %} {% if show_price_comparison and row.external_comparisons %} {% for comparison in row.external_comparisons %} {% if show_addon_details %} {% endif %} {% if show_discount_details %} {% endif %} {% endfor %} {% endif %} {% if show_price_comparison and row.internal_comparisons %} {% for comparison in row.internal_comparisons %} {% if show_addon_details %} {% endif %} {% if show_discount_details %} {% endif %} {% endfor %} {% endif %} {% if show_price_comparison and row.external_comparisons or row.internal_comparisons %} {% endif %} {% endfor %}
Compute Plan Cloud Provider vCPUs RAM (GB) Term Currency Price Calculation BreakdownAdd-onsDiscount Model Discount DetailsPrice ComparisonsFinal Price
Compute Plan Price SLA Base Units × SLA Per Unit Mandatory Add-ons = Total SLA Price
{{ row.compute_plan }} {% if not row.is_active %} Inactive plan {% endif %} {{ row.cloud_provider }} {{ row.vcpus }} {{ row.ram }} {{ row.term }} {{ row.currency }} {{ row.compute_plan_price|floatformat:2 }} {{ row.sla_base|floatformat:2 }} {{ row.units|floatformat:0 }} × {{ row.sla_per_unit|floatformat:4 }}
= {{ row.units|multiply:row.sla_per_unit|floatformat:2 }}
{% if row.mandatory_addons %} {% for addon in row.mandatory_addons %}
{% if addon.addon_type == "Unit Rate" %} {{ addon.name }}
{{ row.units|floatformat:0 }} × {{ addon.price|floatformat:4 }}
= {{ row.units|multiply:addon.price|floatformat:2 }} {% elif addon.addon_type == "Base Fee" %} {{ addon.name }}
{{ addon.price|floatformat:2 }} {% else %} {{ addon.name }}
{{ addon.price|floatformat:2 }} {% endif %}
{% if not forloop.last %}
{% endif %} {% endfor %} {% else %} n/a {% endif %}
{% with addon_total=row.mandatory_addons|calculate_addon_total:row.units %} {{ row.sla_price|add_float:addon_total|floatformat:2 }} {% endwith %} {% if row.mandatory_addons or row.optional_addons %}
{% if row.mandatory_addons %}
Mandatory Add-ons: {% for addon in row.mandatory_addons %}
{{ addon.name }} {{ addon.price|floatformat:2 }} {{ row.currency }}
{% if addon.commercial_description %}
{{ addon.commercial_description }}
{% elif addon.description %}
{{ addon.description }}
{% endif %}
Type: {{ addon.addon_type }}
{% endfor %}
{% endif %} {% if row.optional_addons %}
Optional Add-ons: {% for addon in row.optional_addons %}
{{ addon.name }} {{ addon.price|floatformat:2 }} {{ row.currency }}
{% if addon.commercial_description %}
{{ addon.commercial_description }}
{% elif addon.description %}
{{ addon.description }}
{% endif %}
Type: {{ addon.addon_type }}
{% endfor %}
{% endif %}
{% else %} No add-ons {% endif %}
{% if row.has_discount %} {{ row.discount_model }} {% else %} None {% endif %} {% if row.has_discount %} Total Units: {{ row.total_units }}
Standard Price: {{ row.standard_sla_price|floatformat:2 }}
Discounted Price: {{ row.discounted_sla_price|floatformat:2 }}
Savings: {{ row.discount_savings|floatformat:2 }} ({{ row.discount_percentage|floatformat:1 }}%)
{% if row.discount_breakdown %} Breakdown:
{% for tier in row.discount_breakdown %} {{ tier.tier_range }} units: {{ tier.units }} × {{ tier.rate|floatformat:4 }} = {{ tier.subtotal|floatformat:2 }}
{% endfor %} {% endif %}
{% else %} No discount applied {% endif %}
{% if row.external_comparisons or row.internal_comparisons %}
{% if row.external_comparisons %}
{{ row.external_comparisons|length }} External
{% endif %} {% if row.internal_comparisons %}
{{ row.internal_comparisons|length }} Internal
{% endif %} See rows below
{% else %} No comparisons {% endif %}
{{ row.final_price|floatformat:2 }}
{{ comparison.plan_name }}
{{ comparison.provider }} {% if comparison.vcpus %}{{ comparison.vcpus }}{% else %}-{% endif %} {% if comparison.ram %}{{ comparison.ram }}{% else %}-{% endif %} {{ row.term }} {{ comparison.currency }} - - - - --- - {% if comparison.source %} External Source
{% endif %} {% if comparison.description %} {{ comparison.description }}
{% endif %} {% if comparison.storage %} Storage: {{ comparison.storage }} GB
{% endif %} {% if comparison.replicas %} Replicas: {{ comparison.replicas }}
{% endif %} {% if comparison.ratio %} Ratio: {{ comparison.ratio|floatformat:2 }}x {% endif %}
{{ comparison.amount|floatformat:2 }} {{ comparison.currency }} {% if comparison.difference > 0 %} (+{{ comparison.difference|floatformat:2 }}, +{% widthratio comparison.difference row.final_price 100 %}%) {% elif comparison.difference < 0 %} ({{ comparison.difference|floatformat:2 }}, {% widthratio comparison.difference row.final_price 100 %}%) {% endif %}
{{ comparison.plan_name }}
{{ comparison.provider }} {{ comparison.vcpus }} {{ comparison.ram }} {{ row.term }} {{ comparison.currency }} {{ comparison.compute_plan_price|floatformat:2 }} Same Same Same {{ comparison.service_price|floatformat:2 }}Same as aboveSame Same Servala Network
{{ comparison.description }}
Group: {{ comparison.group_name }}
Ratio: {{ comparison.ratio|floatformat:2 }}x
{{ comparison.amount|floatformat:2 }} {{ comparison.currency }} {% if comparison.difference > 0 %} (+{{ comparison.difference|floatformat:2 }}, +{% widthratio comparison.difference row.final_price 100 %}%) {% elif comparison.difference < 0 %} ({{ comparison.difference|floatformat:2 }}, {% widthratio comparison.difference row.final_price 100 %}%) {% elif comparison.difference == 0 %} (Same) {% endif %}
{# Price Chart #}
Price Breakdown Chart - Units vs Price Components

{{ pricing_data|length }} variants for {{ service_level }} in {{ group_name }}

{% else %}

No pricing variants available for {{ service_level }} in {{ group_name }}.

{% endif %}
{% empty %}

No service levels with pricing data found for group: {{ group_name }}.

{% endfor %}
{% endfor %} {% else %}

No pricing data available

{% if not filter_cloud_provider and not filter_service %}Please select both a Cloud Provider and Service from the filters above to view pricing data.{% elif not filter_cloud_provider %}Please select a Cloud Provider from the filters above.{% elif not filter_service %}Please select a Service from the filters above.{% elif filter_cloud_provider or filter_service or filter_compute_plan_group or filter_service_level %}No data matches the selected filters. Try adjusting your filter criteria.{% else %}Please ensure you have active compute plans with prices and VSHNAppCat price configurations.{% endif %}

{% endif %}
{% endblock %}