Skip to content

Commit

Permalink
Update NodeProperties for new community structures (#6740)
Browse files Browse the repository at this point in the history
- populate NodeProperties facts for the 4 new community processing structures
  • Loading branch information
arifogel committed Mar 16, 2021
1 parent a7bd344 commit f2d34c1
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public class NodePropertySpecifier extends PropertySpecifier {
public static final String AS_PATH_ACCESS_LISTS = "AS_Path_Access_Lists";
public static final String AUTHENTICATION_KEY_CHAINS = "Authentication_Key_Chains";
public static final String COMMUNITY_LISTS = "Community_Lists";
public static final String COMMUNITY_MATCH_EXPRS = "Community_Match_Exprs";
public static final String COMMUNITY_SET_EXPRS = "Community_Set_Exprs";
public static final String COMMUNITY_SET_MATCH_EXPRS = "Community_Set_Match_Exprs";
public static final String COMMUNITY_SETS = "Community_Sets";
public static final String CONFIGURATION_FORMAT = "Configuration_Format";
public static final String DEFAULT_CROSS_ZONE_ACTION = "Default_Cross_Zone_Action";
public static final String DEFAULT_INBOUND_ACTION = "Default_Inbound_Action";
Expand Down Expand Up @@ -90,6 +94,30 @@ public class NodePropertySpecifier extends PropertySpecifier {
Configuration::getCommunityLists,
Schema.set(Schema.STRING),
"Names of community lists"))
.put(
COMMUNITY_MATCH_EXPRS,
new PropertyDescriptor<>(
Configuration::getCommunityMatchExprs,
Schema.set(Schema.STRING),
"Names of expressions for matching a community"))
.put(
COMMUNITY_SET_EXPRS,
new PropertyDescriptor<>(
Configuration::getCommunitySetExprs,
Schema.set(Schema.STRING),
"Names of expressions representing a community-set"))
.put(
COMMUNITY_SET_MATCH_EXPRS,
new PropertyDescriptor<>(
Configuration::getCommunitySetMatchExprs,
Schema.set(Schema.STRING),
"Names of expressions for matching a ommunity-set"))
.put(
COMMUNITY_SETS,
new PropertyDescriptor<>(
Configuration::getCommunitySets,
Schema.set(Schema.STRING),
"Names of community-sets"))
.put(
CONFIGURATION_FORMAT,
new PropertyDescriptor<>(
Expand Down

0 comments on commit f2d34c1

Please sign in to comment.