diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-05 16:30:17 -0600 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-09 15:29:20 +0100 |
commit | ff3ecc1b4d4ede0fb4ca15484a9655c628f4354f (patch) | |
tree | 500433ee770391152f6b81dcabbbf116f175acb2 /interface-definitions/include/protocol-tcp-udp.xml.i | |
parent | 8ef7afb9a6f243bf956cce7ad09e3871e3861ef3 (diff) | |
download | vyos-1x-ff3ecc1b4d4ede0fb4ca15484a9655c628f4354f.tar.gz vyos-1x-ff3ecc1b4d4ede0fb4ca15484a9655c628f4354f.zip |
git: T5803: Adjust git configuration for baseline defaults
Apply baseline defaults for `.gitattributes` and `.vscode/settings.json`
for improved developer experience.
The `.gitattrbutes` settings are based on:
Git documentation (https://git-scm.com/docs/gitattributes#_effects)
GitHub documentation (https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings)
Community templates (https://github.com/gitattributes/gitattributes)
Since editor-agnostic line-ending specific settings are applied to
`.gitattributes`, they can be removed from `.vscode/settings.json`.
The global VSCode defaults have also been removed to avoid duplication.
(cherry picked from commit c30002208d392177cb1ffc1a5c714f7ad6d573b6)
Diffstat (limited to 'interface-definitions/include/protocol-tcp-udp.xml.i')
-rw-r--r-- | interface-definitions/include/protocol-tcp-udp.xml.i | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/interface-definitions/include/protocol-tcp-udp.xml.i b/interface-definitions/include/protocol-tcp-udp.xml.i index d7e6752ad..c186c026a 100644 --- a/interface-definitions/include/protocol-tcp-udp.xml.i +++ b/interface-definitions/include/protocol-tcp-udp.xml.i @@ -1,22 +1,22 @@ -<!-- include start from snmp/protocol.xml.i -->
-<leafNode name="protocol">
- <properties>
- <help>Protocol to be used (TCP/UDP)</help>
- <completionHelp>
- <list>udp tcp</list>
- </completionHelp>
- <valueHelp>
- <format>udp</format>
- <description>Listen protocol UDP</description>
- </valueHelp>
- <valueHelp>
- <format>tcp</format>
- <description>Listen protocol TCP</description>
- </valueHelp>
- <constraint>
- <regex>(udp|tcp)</regex>
- </constraint>
- </properties>
- <defaultValue>udp</defaultValue>
-</leafNode>
-<!-- include end -->
+<!-- include start from snmp/protocol.xml.i --> +<leafNode name="protocol"> + <properties> + <help>Protocol to be used (TCP/UDP)</help> + <completionHelp> + <list>udp tcp</list> + </completionHelp> + <valueHelp> + <format>udp</format> + <description>Listen protocol UDP</description> + </valueHelp> + <valueHelp> + <format>tcp</format> + <description>Listen protocol TCP</description> + </valueHelp> + <constraint> + <regex>(udp|tcp)</regex> + </constraint> + </properties> + <defaultValue>udp</defaultValue> +</leafNode> +<!-- include end --> |