Make the app more configurable by setting AS's accordingly
This commit is contained in:
parent
fe35067549
commit
daf04140ee
|
|
@ -1,9 +1,11 @@
|
|||
@model List<AS1024.CommunityDocumentationPage.Models.Result>
|
||||
@using Microsoft.Extensions.DependencyInjection
|
||||
@inject IConfiguration Configuration
|
||||
@model List<AS1024.CommunityDocumentationPage.Models.Result>
|
||||
@{
|
||||
ViewData["Title"] = "BGP Communities";
|
||||
}
|
||||
|
||||
<p>This site contains BGP communities for AS1024. Please note that these communities are subject to change at a moment's notice. We do not strip communities on received routes or on routes sent to peers and upstreams, but we cannot guarantee that the communities will be preserved by the upstream or peers. If you have any questions or need support, please reach out to noc@12393239.xyz.</p>
|
||||
<p>This site contains BGP communities for @("AS" + Configuration["ASN"]). Please note that these communities are subject to change at a moment's notice. We do not strip communities on received routes or on routes sent to peers and upstreams, but we cannot guarantee that the communities will be preserved by the upstream or peers. If you have any questions or need support, please reach out to <a href="mailto:@Configuration["NOCEmail"]">@Configuration["NOCEmail"].</a></p>
|
||||
|
||||
|
||||
<p>The communities are as follows:</p>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
@using Microsoft.Extensions.Hosting
|
||||
@inject IConfiguration Configuration
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - AS1024 NetOps</title>
|
||||
<title>@ViewData["Title"] - @("AS" + Configuration["ASN"]) NetOps</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/AS1024.CommunityDocumentationPage.styles.css" asp-append-version="true" />
|
||||
|
|
@ -35,7 +37,7 @@
|
|||
|
||||
<footer class="border-top footer text-muted">
|
||||
<div class="container">
|
||||
© @DateTime.Now.Year - AS1024.net
|
||||
© @DateTime.Now.Year - @("AS" + Configuration["ASN"] + ".net")
|
||||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
}
|
||||
},
|
||||
"APIKey": "",
|
||||
"ASN": "1024",
|
||||
"ASN": "",
|
||||
"NOCEmail": "",
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue