Skip to content

Commit

Permalink
Merge pull request #30 from fdomain/bgp-ui-fix
Browse files Browse the repository at this point in the history
feat: show enforce first AS and enabled field on DeviceBGPSession UI
  • Loading branch information
fdomain authored Mar 28, 2024
2 parents 8f4bcc0 + ccddaad commit 61d560a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions netbox_cmdb/netbox_cmdb/templates/netbox_cmdb/bgpsession.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ <h5 class="card-header">Peer A</h5>
<th>Maximum prefixes</td>
<td>{{ object.peer_a.maximum_prefixes }}</td>
</tr>
<tr>
<th>Enforce First AS</td>
<td>{% checkmark object.peer_a.enforce_first_as %}</td>
</tr>
<tr>
<th>Enabled</td>
<td>{% checkmark object.peer_a.enabled %}</td>
</tr>
</table>
<h5 class="card-text">AFI/SAFI</h5>
<table class="table">
Expand Down Expand Up @@ -120,6 +128,14 @@ <h5 class="card-header">Peer B</h5>
<th>Maximum prefixes</td>
<td>{{ object.peer_b.maximum_prefixes }}</td>
</tr>
<tr>
<th>Enforce First AS</td>
<td>{% checkmark object.peer_b.enforce_first_as %}</td>
</tr>
<tr>
<th>Enabled</td>
<td>{% checkmark object.peer_b.enabled %}</td>
</tr>
</table>
<h5 class="card-text">AFI/SAFI</h5>
<table class="table">
Expand Down

0 comments on commit 61d560a

Please sign in to comment.