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
    }
}
