# lvazyibes/lazycisco architecture

> Architecture diagram of the GitHub repository lvazyibes/lazycisco, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lvazyibes/lazycisco
- Repository: https://github.com/lvazyibes/lazycisco

## Overview

LazyCisco is a PyQt5 desktop application for managing Cisco switches and routers. Its main workflow is to select or add a saved device, retrieve credentials, connect over SSH/Telnet, and send commands through a live terminal while viewing responses. The documented product also includes device-list management, interface search, and interface, bulk-interface, and global configuration via templates. Both Python files are substantial, parallel language variants. The excerpts show configuration storage and running-config search; other feature links below rely on the README, not inspection of unsampled implementations.

Main entry points: [`Lazy Cisco Eng.py`](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py) (Device workspace), [`Lazy Cisco.py`](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco.py) (Turkish app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop interface"]
  node_app_en["English app<br/>[Lazy Cisco Eng.py]"]
  node_app_tr["Turkish app<br/>[Lazy Cisco.py]"]
  node_device_list["Device management<br/>[Lazy Cisco Eng.py]"]
  node_device_workspace["Device workspace<br/>[Lazy Cisco Eng.py]"]
  node_terminal["Live terminal<br/>[Lazy Cisco Eng.py]"]
end

subgraph group_devices["Device access"]
  node_connection["SSH/Telnet connection<br/>[Lazy Cisco Eng.py]"]
  node_command_output["Command output<br/>[Lazy Cisco Eng.py]"]
end

subgraph group_configuration["Configuration tools"]
  node_interface_search["Interface search<br/>[Lazy Cisco Eng.py]"]
  node_template_tools["Template selection<br/>[Lazy Cisco Eng.py]"]
  node_interface_config["Interface configuration<br/>[Lazy Cisco Eng.py]"]
  node_bulk_config["Bulk interface config<br/>[Lazy Cisco Eng.py]"]
  node_global_config["Global configuration<br/>[Lazy Cisco Eng.py]"]
end

subgraph group_state["Local state"]
  node_credential_store["Credential manager<br/>[Lazy Cisco Eng.py]"]
  node_device_records[("Device records<br/>[Lazy Cisco Eng.py]")]
  node_settings[("App settings<br/>[Lazy Cisco Eng.py]")]
end

node_operator(("Network operator"))
node_keyring[("System keyring")]
node_cisco{{"Cisco device"}}

node_operator -->|"uses"| node_app_en
node_operator -->|"uses"| node_app_tr
node_app_en -->|"manages"| node_device_list
node_app_tr -->|"manages"| node_device_list
node_device_list -->|"saves credentials"| node_credential_store
node_credential_store -->|"stores credentials"| node_keyring
node_device_list -->|"stores device details"| node_device_records
node_app_en -->|"manages settings"| node_settings
node_device_list -->|"opens device"| node_device_workspace
node_device_workspace -->|"retrieves credentials"| node_credential_store
node_device_workspace -->|"connects"| node_connection
node_connection -->|"SSH or Telnet"| node_cisco
node_device_workspace -->|"opens terminal"| node_terminal
node_terminal -->|"sends commands"| node_connection
node_connection -->|"returns responses"| node_command_output
node_device_workspace -->|"offers search"| node_interface_search
node_interface_search -->|"queries running config"| node_connection
node_device_workspace -->|"offers templates"| node_template_tools
node_template_tools -->|"selects template"| node_interface_config
node_device_workspace -->|"configures interface"| node_interface_config
node_device_workspace -->|"configures interfaces"| node_bulk_config
node_device_workspace -->|"configures device"| node_global_config

click node_app_en "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_app_tr "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco.py"
click node_device_list "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_device_workspace "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_terminal "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_credential_store "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_device_records "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_settings "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_connection "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_command_output "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_interface_search "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_template_tools "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_interface_config "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_bulk_config "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"
click node_global_config "https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app_en,node_app_tr,node_device_list,node_device_workspace,node_terminal toneBlue
class node_connection,node_command_output,node_keyring toneAmber
class node_interface_search,node_template_tools,node_interface_config,node_bulk_config,node_global_config toneMint
class node_credential_store,node_device_records,node_settings toneRose
class node_operator,node_cisco toneIndigo
```

## Components

### Desktop interface

- [English app](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Turkish app](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco.py): `Lazy Cisco.py`
- [Device management](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Device workspace](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Live terminal](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`

### Device access

- [SSH/Telnet connection](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Command output](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`

### Configuration tools

- [Interface search](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Template selection](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Interface configuration](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Bulk interface config](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Global configuration](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`

### Local state

- [Credential manager](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [Device records](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`
- [App settings](https://github.com/lvazyibes/lazycisco/blob/main/Lazy%20Cisco%20Eng.py): `Lazy Cisco Eng.py`

### Other components

- **Network operator**
- **System keyring**
- **Cisco device**

## Connections

- Network operator → English app: uses (evidence: `README.md`)
- Network operator → Turkish app: uses (evidence: `README.md`)
- English app → Device management: manages (evidence: `Lazy Cisco Eng.py`)
- Turkish app → Device management: manages (evidence: `Lazy Cisco.py`)
- Device management → Credential manager: saves credentials (evidence: `README.md`)
- Credential manager → System keyring: stores credentials (evidence: `Lazy Cisco Eng.py`)
- Device management → Device records: stores device details (evidence: `README.md`)
- English app → App settings: manages settings (evidence: `Lazy Cisco Eng.py`)
- Device management → Device workspace: opens device (evidence: `README.md`)
- Device workspace → Credential manager: retrieves credentials (evidence: `README.md`)
- Device workspace → SSH/Telnet connection: connects (evidence: `README.md`)
- SSH/Telnet connection → Cisco device: SSH or Telnet (evidence: `README.md`)
- Device workspace → Live terminal: opens terminal (evidence: `README.md`)
- Live terminal → SSH/Telnet connection: sends commands (evidence: `README.md`)
- SSH/Telnet connection → Command output: returns responses (evidence: `README.md`)
- Device workspace → Interface search: offers search (evidence: `Lazy Cisco Eng.py`)
- Interface search → SSH/Telnet connection: queries running config (evidence: `Lazy Cisco Eng.py`)
- Device workspace → Template selection: offers templates (evidence: `Lazy Cisco Eng.py`)
- Template selection → Interface configuration: selects template (evidence: `Lazy Cisco Eng.py`)
- Device workspace → Interface configuration: configures interface (evidence: `Lazy Cisco Eng.py`)
- Device workspace → Bulk interface config: configures interfaces (evidence: `Lazy Cisco Eng.py`)
- Device workspace → Global configuration: configures device (evidence: `Lazy Cisco Eng.py`)
