Skip to content
Snippets Groups Projects
Commit b30bead7 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

general - style cleanup

parent b0a2b213
No related branches found
No related tags found
1 merge request!170Bugfixes for SR2se/PE
Pipeline #89083 passed
{#This template takes care of hostname, motd, location and other general settings#}
{% set hostname_as_a_list= inventory_hostname.split('.')%}
{% set short_hostname= hostname_as_a_list[:3] | join('.')%}
{% set hostname_as_a_list= inventory_hostname.split('.') %}
{% set short_hostname= hostname_as_a_list[:3] | join('.') %}
<system xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
<contact alu:operation="replace">{{ nokia_system_contact }}</contact>
<name alu:operation="replace">{{ short_hostname}}</name>
<name alu:operation="replace">{{ short_hostname }}</name>
<location alu:operation="replace">{{ nokia_snmp_location }}</location>
<load-balancing alu:operation="replace">
<l4-load-balancing>true</l4-load-balancing>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment