diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-10 18:04:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-10 18:04:31 +0100 |
commit | 6239b274569b84bf0eca849dcc9cb5b2250b2fce (patch) | |
tree | 8aab4fab41a1d2ee3ff808b3acf6844e86dcfec9 /interface-definitions | |
parent | 5346f0e6e1f11d62e13da4ea5d12beb2040265d6 (diff) | |
download | vyos-1x-6239b274569b84bf0eca849dcc9cb5b2250b2fce.tar.gz vyos-1x-6239b274569b84bf0eca849dcc9cb5b2250b2fce.zip |
banner: T2024: migrate "system login banner" to XML/Python representation
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-login-banner.xml.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/system-login-banner.xml.in b/interface-definitions/system-login-banner.xml.in new file mode 100644 index 000000000..f3531ded4 --- /dev/null +++ b/interface-definitions/system-login-banner.xml.in @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="system"> + <children> + <node name="login"> + <children> + <node name="banner" owner="${vyos_conf_scripts_dir}/system-login-banner.py"> + <properties> + <help>System login banners</help> + </properties> + <children> + <leafNode name="post-login"> + <properties> + <help>System loging banner post-login</help> + </properties> + </leafNode> + <leafNode name="post-login"> + <properties> + <help>System loging banner pre-login</help> + </properties> + </leafNode> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |