Open robshakir opened 2 years ago
system/gnmi
also has a different pattern here:
▶ find system/gnmi -name feature.textproto
system/gnmi/feature.textproto
system/gnmi/cliorigin/feature.textproto
system/gnmi/get/feature.textproto
system/gnmi/metadata/feature.textproto
here, should system/gnmi/feature.textproto
really be under something like system/gnmi/base/feature.textproto
?
I don't have all the answers for now, but just to record some quick thoughts for discussion (or come back with more thoughts). I think the problems/questions are about:
I have two main proposals:
I was hoping to get aligned internally first before soliciting public feedback. Is that alright?
cc: @liulk @dplore @bstoll @xw-g
today, we have a number of missing
feature.textproto
files through the repository - but it's not clear how these are intended to align with the tests that are specified. the contributing doc says that the structure is essentially:feature/foo/subfeature
feature.textproto
(ate|otg)_tests/
tests
this makes sense given that
feature.textproto
would then describe the paths and RPCs that are meant to be covered by the feature profile that is defined there.however, if we look at the actual layout of the repo:
here we now have tests that are subsets of a feature underneath the directories that contain tests. e.g.,
Flush
coverage is its own feature profile. there's also nofeature.textproto
.so, two questions:
feature.textproto
. what's the logic to not do this?interface
has a clearer breakdown for example,gnmi
has the same structure asgribi
.thanks!