You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following types should be used for merging pull requests:
Use Squash and merge for PRs related robot tests
This makes the history a bit cleaner by squashing multiple commits into single one and skip creating merge commit.
Use Create a merge commit for all other PRs
Defining Protobuf Models
All defined Protobuf models should follow official Style Guide.
Named models
These are models that need to have name field to logically identify them.
The best example for such model is interface model. The interfaces come from VPP with an ID (sw_if_index) field. However this interface ID is not part of the model, instead the interface model has Name field, which is then referenced with ID via agent's index map.
The models should only be named if these conditions are met:
there can be multiple items with the same values (e.g. ACLs..)
there is no primary key (e.g. sw_if_index for interfaces)
there would be too many fields needed to include in the key for unique identification (and tagging is supported)
there is more to the item than just its value (e.g. interface "goes" somewhere) <= TODO: define this better