diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-01 17:40:58 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-04 22:59:39 +0200 |
commit | 6f784231283ec3a63335145e914f2b15e28795dc (patch) | |
tree | bea128ca4423d0d32cec3c074772f1b360948323 /src/conf_mode/http-api.py | |
parent | 109dbf9789bdc0b1e35b2b5ebd2fd0ce2a1ebe4a (diff) | |
download | vyos-1x-6f784231283ec3a63335145e914f2b15e28795dc.tar.gz vyos-1x-6f784231283ec3a63335145e914f2b15e28795dc.zip |
ifconfig: section: T2241: add get_config_path function
Add a function that converts an interface name to its config path.
For example: 'eth0.1.2' -> 'ethernet eth0 vif-s 1 vif-c 2'
Diffstat (limited to 'src/conf_mode/http-api.py')
0 files changed, 0 insertions, 0 deletions