// Copyright (c) 2015, Cisco Systems
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
//    this list of conditions and the following disclaimer.
// 
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the copyright holder nor the names of its
//    contributors may be used to endorse or promote products derived
//    from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// This file is autogenerated
//
// The following edits are possible, without affecting the validity of the
// file:
//
//  * Fields may be renamed.
//  * Fields may be deleted.
//  * The unique numbered tag for a field may be changed, provided that
//    the ordering of tags for fields within a message is preserved.
//  * Message types may be renamed.
//  * Message types may be deleted (if all fields that reference them
//    have been deleted).
//
// All Cisco message and field extensions must be preserved (except when the
// field itself is being deleted).

syntax = "proto3";

package cisco_ios_xr_ipv6_ospfv3_oper.ospfv3.processes.process.default_vrf.retransmission_list_process_table.retransmission;

// OSPFv3 retransmission list information
message ospfv3_edm_retrans_KEYS {
    string process_name = 1;
    string interface_name = 2;
    string neighbor_address = 3;
}

message ospfv3_edm_retrans {
    // Neighbor IP address
    string retransmission_neighbor_address = 50;
    // If true, virtual link is retransmitted 
    bool is_retransmission_virtual_link = 51;
    // Retransmission virtual link ID 
    uint32 retransmission_virtual_link_id = 52;
    // If true, sham link is retransmitted 
    bool is_retransmission_sham_link = 53;
    // Retransmission sham link ID 
    uint32 retransmission_sham_link_id = 54;
    // Amount of time remaining on retransmission timer (ms)
    uint32 retransmission_timer = 55;
    // Retransmission queue length
    uint32 retransmission_length = 56;
    // List of virtual link scope entries 
    repeated ospfv3_edm_lsa_sum retransmission_virtual_link_db_list = 57;
    // List of area scope entries
    repeated ospfv3_edm_lsa_sum retransmission_area_db_list = 58;
    // List of AS scope entries
    repeated ospfv3_edm_lsa_sum retransmission_asdb_list = 59;
}

// LSA summary entry
message ospfv3_edm_lsa_sum {
    // LSA type
    string header_lsa_type = 1;
    // Age of the LSA (seconds)
    uint32 header_lsa_age = 2;
    // LSA ID
    string header_lsa_id = 3;
    // Router ID of the advertising router
    string header_advertising_router = 4;
    // Current LSA sequence number
    sint32 header_sequence_number = 5;
}

