"Fossies" - the Fresh Open Source Software Archive

Member "ansible-6.1.0/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/01_bgp_default_vrf_config.j2" (3 Dec 2020, 4926 Bytes) of package /linux/misc/ansible-6.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 idempotent: false
    2 os10_bgp:
    3     asn: 12
    4     router_id: 90.1.1.4
    5     maxpath_ibgp: 2
    6     maxpath_ebgp: 2
    7     graceful_restart: true
    8     log_neighbor_changes: true
    9     fast_ext_fallover: true
   10     always_compare_med: true
   11     default_loc_pref: 1000
   12     as_notation: asdot
   13     enforce_first_as: true
   14     non_deterministic_med: true
   15     outbound_optimization: true
   16     confederation:
   17       identifier: 25
   18       peers: 23 24
   19       peers_state: present
   20     route_reflector:
   21       client_to_client: true
   22       cluster_id: 4294967295
   23     address_family_ipv4:
   24       aggregate_address:
   25          - ip_and_mask: 1.1.1.1/16
   26            state: present
   27            summary_only: true
   28       dampening:
   29         value: 15 750 2000 60
   30         route_map: qq
   31         state: present
   32       ibgp_redist_internal:
   33         state: present
   34       default_metric: 10
   35       distance_bgp:
   36         value: 3 4 6
   37         state: present
   38     address_family_ipv6:
   39       aggregate_address:
   40          - ip_and_mask: 2001:4898:5808:ffa0::/126
   41            state: present
   42            summary_only: true
   43       ibgp_redist_internal:
   44         state: present
   45     best_path:
   46        as_path: ignore
   47        as_path_state: present
   48        ignore_router_id: true
   49        med:
   50         - attribute: confed
   51           state: present
   52     ipv4_network:
   53        - address: 101.1.1.0/30
   54          state: present
   55     ipv6_network:
   56       - address: "2001:4898:5808:ffa0::/126"
   57         state: present
   58     neighbor:
   59       - name: peer1
   60         type: peergroup
   61         bfd: yes
   62         state: present
   63       - name: ebgp_pg
   64         type: peergroup
   65         bfd: yes
   66         state: present
   67         address_family:
   68            - type: ipv4
   69              activate: true
   70              state: present
   71              max_prefix:
   72                 count: 20
   73                 threshold: 90
   74                 warning: true
   75                 state: present
   76         listen:
   77            - subnet: 4.4.4.4/32
   78              limit: 4
   79              subnet_state: present
   80            - subnet: 20::/64
   81              limit: 4
   82              subnet_state: present
   83       - name: ibgp_pg
   84         type: peergroup
   85         weight: 10
   86         state: present
   87       - type: ipv4
   88         interface: vlan20
   89         send_community:
   90           - type: extended
   91             state: present
   92         address_family:
   93           - type: l2vpn
   94             activate: true
   95             state: present
   96         admin: up
   97         state: present
   98       - type: ipv4
   99         description: "U_site2 spine1"
  100         remote_asn: 11
  101         ip: 192.168.10.1
  102         peergroup: peer1
  103         peergroup_state: present
  104         peergroup_type: ibgp
  105         adv_interval: 40
  106         fall_over: present
  107         password: bgppassword
  108         route_reflector_client: true
  109         adv_start: 100
  110         adv_start_state: present
  111         conn_retry_timer: 20
  112         remove_pri_as: present
  113         address_family: 
  114           - type: ipv4
  115             activate: true
  116             state: present
  117             max_prefix:
  118                count: 10
  119                threshold: 40
  120                warning: true
  121                state: present
  122             default_originate:
  123                route_map: aa
  124                state: present
  125             distribute_list:
  126                in: XX
  127                in_state: present
  128                out: YY 
  129                out_state: present
  130         send_community:
  131           - type: standard
  132             state: present
  133         state: present
  134       - type: ipv4
  135         remote_asn: 13
  136         local_as: 10
  137         weight: 10
  138         ip: 192.168.12.3
  139         address_family:
  140           - type: ipv4
  141             activate: true
  142             allow_as_in: 5
  143             next_hop_self: true
  144             soft_reconf: true
  145             add_path: both 3
  146             route_map:
  147               - name: qq
  148                 filter: in
  149                 state: present
  150             state: present
  151         state: present
  152       - type: ipv6
  153         remote_asn: 14
  154         ip: 2001:4898:5808:ffa2::1
  155         state: present
  156       - type: ipv6
  157         description: "U_site2-spine1-Auto Discovered peers"
  158         auto_peer: unnumbered-auto
  159         ibgp_peergroup: ibgp_pg
  160         ibgp_peergroup_state: present
  161         sender_loop_detect: true
  162         password: bgppassword
  163         address_family:
  164           - type: ipv4
  165             activate: true
  166             sender_loop_detect: true
  167             state: present
  168             allow_as_in: 5
  169             next_hop_self: true
  170             soft_reconf: true
  171           - type: l2vpn
  172             activate: true
  173             sender_loop_detect: true
  174             state: present
  175         send_community:
  176           - type: standard
  177             state: present
  178         admin: up
  179         state: present
  180     redistribute:
  181       - route_type: static
  182         route_map_name: aa
  183         address_type: ipv4
  184         state: present
  185     bfd_all_neighbors:
  186       interval: 200
  187       min_rx: 200
  188       multiplier: 3
  189       role: active
  190       state: present
  191     state: present