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: //usr/lib/python3.9/site-packages/ansible_collections/dellemc/os10/roles/os10_xstp/tests/main.yaml
---
# vars file for dellemc.os10.os10_xstp,
# below gives a sample configuration
# Sample variables for OS10 device
os10_xstp:
    type: rstp
    enable: true
    path_cost: true
    mac_flush_timer: 4
    rstp:
      max_age: 6
      hello_time: 7
      forward_time: 7
      force_version: stp
      bridge_priority: 4096
      mac_flush_threshold: 5
    pvst:
      vlan:
        - range_or_id: 10
          max_age: 6
          enable: true
          hello_time: 7
          forward_time: 7
          bridge_priority: 4096
          mac_flush_threshold: 9
    mstp:
      max_age: 6
      max_hops: 6
      hello_time: 7
      forward_time: 7
      force_version: stp
      mstp_instances:
        - number_or_range: 1
          enable: true
          mac_flush_threshold: 9
          bridge_priority: 4096
      mst_config:
         name: cfg1
         revision: 5
         cfg_list:
           - number: 1
             vlans: 10,12
             vlans_state: present
    intf:
      ethernet 1/1/8:
        edge_port: true
        bpdu_filter: true
        bpdu_guard: true
        guard: loop
        enable: true
        link_type: point-to-point
        msti:
          - instance_number: 1
            priority: 32
            cost: 1
        rstp:
          priority: 32
          cost: 7
        vlan:
          - range_or_id: 6
            priority: 16
            cost: 8

# Sample variables for OS10 devices to configure root in pvst and mst
#---
#os10_xstp:
#    pvst:
#      vlan:
#        - range_or_id: 10
#          root: primary
#    mstp:
#      mstp_instances:
#        - number_or_range: 1
#          root: secondary