Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r 987a7df9cd59 sa/profiles/Cisco/IOSXR/get_version.py
- --- a/sa/profiles/Cisco/IOSXR/get_version.py Wed Oct 10 14:56:14 2012 +0400
- +++ b/sa/profiles/Cisco/IOSXR/get_version.py Tue Oct 16 16:26:10 2012 +0300
- @@ -20,7 +20,7 @@
- implements = [IGetVersion]
- rx_ver = re.compile(r"^Cisco IOS XR Software, Version\s+(?P<version>\S+\[\d+\]).+cisco\s+(?P<platform>\d+)/PRP", re.MULTILINE | re.DOTALL)
- - rx_snmp_ver = re.compile(r"Cisco IOS XR Software \(Cisco (?P<platform>\S+/PRP)\),\s+Version\s+(?P<version>\S+\[\d+\])")
- + rx_snmp_ver = re.compile(r"Cisco IOS XR Software \(Cisco (?P<platform>\S+)\s+\w+\).+\s+Version\s+(?P<version>\S+)\[\S+\]")
- def execute(self):
- if self.snmp and self.access_profile.snmp_ro:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement