<!--
 Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
{% extends 'base.html' %}

{% block content %}

    <h1 class="text-center mb-4">Path Computation Element Protocol (PCEP)</h1>

    <!-- Sección de botones -->
    <div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 g-3 text-center">
        <div class="col">
            <a href="{{ url_for('pcep.managePCEP') }}" class="btn btn-primary">
                <i class="bi bi-pencil"></i> Manage PCE
            </a>
        </div>

        <div class="col">
            <a href="{{ url_for('pcep.lspdbPCEP') }}" class="btn btn-primary">
                <i class="bi bi-table"></i> Show LSPDB
            </a>
        </div>     

        <div class="col">
            <a href="{{ url_for('pcep.sendPath') }}" class="btn btn-primary">
                <i class="bi bi-pencil-square"></i> Send Command to Configure Route
            </a>
        </div>
        
        <div class="col">
            <a href="{{ url_for('pcep.addPcep') }}" class="btn btn-primary">
                <i class="bi bi-plus"></i> Configure PCE IP
            </a>
        </div>

       
    </div>

    <div id="topology" style="margin-top: 20px;"></div>

    <script src="https://d3js.org/d3.v4.min.js"></script>
    <script src="{{ url_for('js.topology_js') }}"></script>
{% endblock %}
