VOL-1848 loglevel commands
Change-Id: I0db607e85d9a53220438fd999c1fa3cf53516ed7
diff --git a/internal/pkg/commands/funcmap.go b/internal/pkg/commands/funcmap.go
index 4749915..7f479df 100644
--- a/internal/pkg/commands/funcmap.go
+++ b/internal/pkg/commands/funcmap.go
@@ -126,6 +126,21 @@
"v1": "voltha.VolthaGlobalService/ListDeviceGroups",
"v2": "voltha.VolthaService/ListDeviceGroups",
},
+ "get-goroutine-count": {
+ "v2": "afrouter.Configuration.GetGoroutineCount",
+ },
+ "apiserver-update-log-level": {
+ "v2": "afrouter.Configuration.UpdateLogLevel",
+ },
+ "apiserver-get-log-levels": {
+ "v2": "afrouter.Configuration.GetLogLevels",
+ },
+ "update-log-level": {
+ "v2": "voltha.VolthaService/UpdateLogLevel",
+ },
+ "get-log-levels": {
+ "v2": "voltha.VolthaService/GetLogLevels",
+ },
}
func GetMethod(name string) (grpcurl.DescriptorSource, string, error) {