Skip to content

Instantly share code, notes, and snippets.

@rohitthakur2590
Created March 16, 2021 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohitthakur2590/1dba942e24b4e6a976725d9fb2b0912a to your computer and use it in GitHub Desktop.
Save rohitthakur2590/1dba942e24b4e6a976725d9fb2b0912a to your computer and use it in GitHub Desktop.
junos_bgp_global rendered operation output
- name: Render the provided configuration.
junipernetworks.junos.junos_bgp_global:
config:
accept_remote_nexthop: true
add_path_display_ipv4_address: true
advertise_from_main_vpn_tables: true
advertise_inactive: true
as_number: '65534'
asdot_notation: true
authentication_algorithm: md5
bgp_error_tolerance:
malformed_route_limit: 20000000
bmp:
monitor: true
damping: true
description: "Config is updated with merged operation"
egress_te_sid_stats: true
groups:
- name: inter
out_delay: 22
description: "This is internal group"
keep: "all"
- name: external
out_delay: 20
- name: extbound
accept_remote_nexthop: true
add_path_display_ipv4_address: true
out_delay: 10
description: "External bound"
keep: all
hold_time: 5
holddown_all_stale_labels: true
include_mp_next_hop: true
log_updown: true
loops: 5
no_advertise_peer_as: true
no_aggregator_id: true
no_client_reflect: true
out_delay: 10
precision_timers: true
preference: '3'
keep: "all"
mtu_discovery: True
no_precision_timers: True
state: rendered
Module Execution Result:
========================
"rendered": [
<nc:protocols
xmlns:nc=\"urn:ietf:params:xml:ns:netconf:base:1.0\">
<nc:bgp>
<nc:accept-remote-nexthop/>
<nc:add-path-display-ipv4-address/>
<nc:advertise-from-main-vpn-tables/>
<nc:advertise-inactive/>
<nc:damping/>
<nc:egress-te-sid-stats/>
<nc:holddown-all-stale-labels/>
<nc:include-mp-next-hop/>
<nc:log-updown/>
<nc:mtu-discovery/>
<nc:no-advertise-peer-as/>
<nc:no-aggregator-id/>
<nc:no-client-reflect/>
<nc:no-precision-timers/>
<nc:precision-timers/>
<nc:authentication-algorithm>md5</nc:authentication-algorithm>
<nc:description>Config is updated with merged operation</nc:description>
<nc:hold-time>5</nc:hold-time>
<nc:keep>all</nc:keep>
<nc:preference>3</nc:preference>
<nc:out-delay>10</nc:out-delay>
<nc:bgp-error-tolerance>
<nc:malformed-route-limit>20000000</nc:malformed-route-limit>
</nc:bgp-error-tolerance>
<nc:bmp>
<nc:monitor>enable</nc:monitor>
</nc:bmp>
<nc:group>
<nc:name>inter</nc:name>
<nc:description>This is internal group</nc:description>
<nc:keep>all</nc:keep>
<nc:out-delay>22</nc:out-delay>
</nc:group>
<nc:group>
<nc:name>external</nc:name>
<nc:out-delay>20</nc:out-delay>
</nc:group>
<nc:group>
<nc:name>extbound</nc:name>
<nc:accept-remote-nexthop/>
<nc:add-path-display-ipv4-address/>
<nc:description>External bound</nc:description>
<nc:keep>all</nc:keep>
<nc:out-delay>10</nc:out-delay>
</nc:group>
</nc:bgp>
</nc:protocols>
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment