Baby steps on code refactoring
This commit is contained in:
37
AS1024.CommunityDocumentationPage/Models/BgpCommunity.cs
Normal file
37
AS1024.CommunityDocumentationPage/Models/BgpCommunity.cs
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user