Baby steps on code refactoring

This commit is contained in:
2023-01-07 23:56:22 -08:00
parent 1ee556eb4e
commit 1a3450f6f9
6 changed files with 142 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
using AS1024.CommunityDocumentationPage.Models;
namespace AS1024.CommunityDocumentationPage.Interfaces
{
/// <summary>
/// Abstraction layer on obtaining BGP communities regardless of DCIM system
/// </summary>
public interface IBgpCommunityDocumentation
{
/// <summary>
/// Read Only field on what the constructor grabs it's data from
/// </summary>
string DcimName { get; }
/// <summary>
/// Gets a list of BGP Communities
/// </summary>
/// <returns></returns>
Task<RouteTargets> GetBgpCommunities();
}
}