Skip to content

Commit

Permalink
Add tags to classify which areas tests apply to. (#2013)
Browse files Browse the repository at this point in the history
* Add tags to classify which areas tests apply to.

An empty tag means it applies to all areas.

* Add Tags for feature classification.

* Changed proto fields to begin with TAGS_
  • Loading branch information
thesrinath authored Aug 14, 2023
1 parent 0ac4072 commit b9b39c0
Show file tree
Hide file tree
Showing 2 changed files with 493 additions and 403 deletions.
14 changes: 13 additions & 1 deletion proto/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ message Metadata {
// Devices require configuring the same OSPF setMetric when BGP
// SetMED is configured.
bool bgp_set_med_requires_equal_ospf_set_metric = 92;

// Reserved field numbers and identifiers.
reserved 84, 9, 28;
}
Expand All @@ -298,4 +298,16 @@ message Metadata {
// The `platform` field for each `platform_exceptions` should be mutually
// exclusive. Duplicate matches will result in a test failure.
repeated PlatformExceptions platform_exceptions = 5;

enum Tags {
TAGS_UNSPECIFIED = 0;
TAGS_AGGREGATION = 1;
TAGS_DATACENTER_EDGE = 2;
TAGS_EDGE = 3;
TAGS_TRANSIT = 4;
}

// The `tags` used to identify the area(s) testcase applies to. An empty tag
// is the default implying it applies to all areas.
repeated Tags tags = 6;
}
Loading

0 comments on commit b9b39c0

Please sign in to comment.