featureflag
Manages Feature Flags (FF).
Modes
Advanced mode
Usage Guidelines
Use this command to enter the Feature Flag mode from the Advanced mode. After entering the Feature Flag mode, you can enable, disable, or modify specific features and access commands to view feature flag statuses, manage feature flag settings, configure logging, and perform diagnostics.
Examples
The following example shows how to enter the Feature Flag mode to manage specific features.
SmartEdge# featureflag (feature-flag)# help CLI - Feature Flag configuration and status. Usage: (feature-flag)# [command] Available Commands: dump-db Dump FF DB and CfgDB in the logs exit Exit the system mode. feature Feature Flag Management help Help about any command logfile Set Feature Flag log into a file loglevel Set Feature Flag Module log level show Display Feature Flag Information Flags: -h, --help help for (feature-flag)# (feature-flag)# dump-db Result: Successfully executed, Code: 0 (feature-flag)# feature Error: required flag(s) "action", "name" not set Usage: (feature-flag)# feature [flags] Flags: -a, --action string Possible values: enable, disable, delete -h, --help help for feature -n, --name string example: myfeature (feature-flag)# logfile Error: required flag(s) "file" not set Usage: (feature-flag)# logfile [flags] Flags: -f, --file string Path with file name: eg - /tmp/ff.log -h, --help help for logfile (feature-flag)# loglevel Error: required flag(s) "level" not set Usage: (feature-flag)# loglevel [flags] Flags: -h, --help help for loglevel -l, --level string Possible values: panic, fatal, error, warning, info, debug, trace
History
| Release version | Command history |
|---|---|
| 1.0.0 | This command was introduced. |