-
Notifications
You must be signed in to change notification settings - Fork 78
Segfault during creation GRE tunnel on IOS XE #632
Copy link
Copy link
Closed
Labels
Description
From community
Expected Behavior
I trying to create tunnel on IOS XE, but if I try set tunnel source or destination - script interrupted with segmentation fault.
Your Script
crud = CRUDService()
native = xe_native.Native()
interface = native.Interface()
tunnel = interface.Tunnel()
tunnel.name = 521
tunnel.description = "test tunnel"
tunnel.vrf.forwarding="PostNscrub"
#tunnel.ip.address.primary.address= "192.168.201.202"
#tunnel.ip.address.primary.mask="255.255.255.254"
tunnel.ip.tcp.adjust_mss=1436
tunnel.tunnel.source="Lo103"
#tunnel.tunnel.destination="8.8.8.8"
interface.tunnel.append(tunnel)
crud.create(provider, interface)
Logs
Enable logging and post the logs below
2017-11-15 21:34:14,971 - ydk - DEBUG - Path found with rev: true. Path without rev: false
2017-11-15 21:34:14,972 - ydk - DEBUG - Debug: Module "Cisco-IOS-XE-features" already in context.
2017-11-15 21:34:14,973 - ydk - DEBUG - Debug: Module "Cisco-IOS-XE-features" successfully parsed.
2017-11-15 21:34:14,979 - ydk - DEBUG - Debug: Module "Cisco-IOS-XE-tunnel" successfully parsed.
2017-11-15 21:34:14,979 - ydk - DEBUG - Added new libyang module 'Cisco-IOS-XE-tunnel'
2017-11-15 21:34:14,979 - ydk - DEBUG - Populating new module schema 'Cisco-IOS-XE-tunnel'
2017-11-15 21:34:14,979 - ydk - DEBUG - Populating augmented schema node 'config-interface-tunnel-grouping'
2017-11-15 21:34:14,980 - ydk - DEBUG - Populating new schema node 'nhrp'
2017-11-15 21:34:14,980 - ydk - DEBUG - Populating augmented schema node 'config-interface-tunnel-grouping'
2017-11-15 21:34:14,981 - ydk - DEBUG - Populating new schema node 'nhrp'
2017-11-15 21:34:14,981 - ydk - DEBUG - Current path: /Cisco-IOS-XE-native:native/config-interface-grouping/interface/Tunnel
2017-11-15 21:34:14,982 - ydk - DEBUG - Top container path: Cisco-IOS-XE-native:native
2017-11-15 21:34:14,982 - ydk - DEBUG - Module 'Cisco-IOS-XE-tunnel' Revision ''
2017-11-15 21:34:14,982 - ydk - DEBUG - Cache hit Module 'Cisco-IOS-XE-tunnel' Revision ''
2017-11-15 21:34:14,982 - ydk - DEBUG - Getting child schema with path 'Cisco-IOS-XE-tunnel:tunnel' in Tunnel
2017-11-15 21:34:14,983 - ydk - DEBUG - Getting data nodes with path 'Cisco-IOS-XE-tunnel:tunnel'
2017-11-15 21:34:14,983 - ydk - DEBUG - Creating new data path 'Cisco-IOS-XE-tunnel:tunnel' with value '' in 'Tunnel'
2017-11-15 21:34:14,983 - ydk - DEBUG - Leaf count: 1
2017-11-15 21:34:14,984 - ydk - DEBUG - Creating child source of /Cisco-IOS-XE-native:native/interface/Tunnel[name='521']/Cisco-IOS-XE-tunnel:tunnel with value: 'Lo103', is_set: true
System Information
ydk 062
Reactions are currently unavailable