HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/python3.9/site-packages/ansible_collections/dellemc/os10/roles/os10_bfd/templates/os10_bfd.j2
#jinja2: trim_blocks: True,lstrip_blocks: True
{#############################################
#Purpose:
Configure bfd global commands for os10 Devices

os10_bfd:
    bfd: 
      interval: 200
      min_rx: 200
      multiplier: 3
      role: "active"
      state: "present"
###############################################}
{% if os10_bfd is defined and os10_bfd %}
  {% set bfd_vars = os10_bfd %}
  {% if bfd_vars.bfd is defined and bfd_vars.bfd %}
    {% set bfd = bfd_vars.bfd %}
    {% if bfd.state is defined and bfd.state == "absent" %}
no bfd enable
no bfd interval
    {% else %}
bfd enable
      {% if bfd.interval is defined and bfd.min_rx is defined and bfd.multiplier is defined %}
        {% if bfd.interval and bfd.min_rx and bfd.multiplier %}
          {% if bfd.role is defined and bfd.role %}
bfd interval {{ bfd.interval }} min_rx {{ bfd.min_rx }} multiplier {{ bfd.multiplier }} role {{ bfd.role }}
          {% else %}
bfd interval {{ bfd.interval }} min_rx {{ bfd.min_rx }} multiplier {{ bfd.multiplier }}
          {% endif %}
        {% endif %}
      {% endif %}   
    {% endif %}
  {% endif %}
{% endif %}