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,37 @@
namespace AS1024.CommunityDocumentationPage.Models
{
/// <summary>
///
/// </summary>
public class BgpCommunity
{
/// <summary>
/// Community Tag
/// </summary>
public string CommunityTag { get; set; }
/// <summary>
/// Type of BGP Community
/// </summary>
public CommunityType BgpCommunityType { get; set; }
/// <summary>
/// What the community does
/// </summary>
public string CommunityDescription { get; set; }
}
public enum CommunityType
{
/// <summary>
/// 32 bit community
/// </summary>
Community,
/// <summary>
/// Extended community with RT
/// </summary>
ExtendedCommunity,
/// <summary>
/// Large BGP Community
/// </summary>
LargeCommunity
}
}