def _raw_version_data(self): show_version_out = self.show("show version") try: version_data = get_structured_data("cisco_asa_show_version.template", show_version_out)[0] return version_data except IndexError: return {}
def _show_vlan(self): show_vlan_out = self.show("show vlan") show_vlan_data = get_structured_data("cisco_ios_show_vlan.template", show_vlan_out) return show_vlan_data
def _interfaces_detailed_list(self): ip_int = self.show("show interface") ip_int_data = get_structured_data("cisco_asa_show_interface.template", ip_int) return ip_int_data
def _interfaces_detailed_list(self): ip_int_br_out = self.show("show ip int br") ip_int_br_data = get_structured_data("cisco_ios_show_ip_int_brief.template", ip_int_br_out) return ip_int_br_data