NSX-T Data Center REST API
CommunityMatchOperation (type)
{
"additionalProperties": false,
"id": "CommunityMatchOperation",
"module_id": "Routing",
"properties": {
"community_list_id": {
"description": "ID of BGP community list. This value is not required when match_operator is MATCH_REGEX otherwise required.",
"title": "Community list id",
"type": "string"
},
"match_operator": {
"default": "MATCH_ANY",
"description": "Match operator for communities from provided community list id. MATCH_ANY will match any community MATCH_ALL will match all communities MATCH_EXACT will do exact match on community MATCH_NONE [operator not supported] will not match any community MATCH_REGEX will match normal communities by evaluating regular expression MATCH_LARGE_COMMUNITY_REGEX will match large communities by evaluating regular expression",
"enum": [
"MATCH_ANY",
"MATCH_ALL",
"MATCH_EXACT",
"MATCH_NONE",
"MATCH_REGEX",
"MATCH_LARGE_COMMUNITY_REGEX"
],
"title": "Match operator",
"type": "string"
},
"regular_expression": {
"description": "Regular expression to match BGP communities. If match_operator is MATCH_REGEX then this value must be specified.",
"title": "Regular expression",
"type": "string"
}
},
"title": "Community match operation",
"type": "object"
}