Skip to content

Commit

Permalink
views restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckablack committed Jan 25, 2021
1 parent efc5489 commit 2d3af77
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 196 deletions.
18 changes: 9 additions & 9 deletions quokka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
app.config["SQLALCHEMY_DATABASE_URI"] = "postgres:///quokka"
db = SQLAlchemy(app)

import quokka.views.ui_views.ui_views
import quokka.views.ui_views.device_views
import quokka.views.ui_views.host_views
import quokka.views.ui_views.service_views
import quokka.views.device_views
import quokka.views.capture_views
import quokka.views.portscan_views
import quokka.views.traceroute_views
import quokka.views.worker_views
import quokka.views.ui.misc_views
import quokka.views.ui.device_views
import quokka.views.ui.host_views
import quokka.views.ui.service_views
import quokka.views.device.device_views
import quokka.views.worker.capture_views
import quokka.views.worker.portscan_views
import quokka.views.worker.traceroute_views
import quokka.views.worker.worker_views

import quokka.models

Expand Down
187 changes: 0 additions & 187 deletions quokka/data/cisco.nxos.standard.config.diff.NXOS-sandbox (SSH)
Original file line number Diff line number Diff line change
@@ -1,194 +1,7 @@
cfs eth distribute
feature vpc
feature telemetry
snmp-server contact DevNet-Sandbox
snmp-server location Always-On-Sandbox
snmp-server source-interface traps mgmt0
snmp-server user admin network-admin auth md5 0xe296d8d231ffa9be6276fd4c513b40a8 priv 0xe296d8d231ffa9be6276fd4c513b40a8 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
snmp-server enable traps callhome event-notify
snmp-server enable traps callhome smtp-send-fail
snmp-server enable traps cfs state-change-notif
snmp-server enable traps cfs merge-failure
snmp-server enable traps aaa server-state-change
snmp-server enable traps feature-control FeatureOpStatusChange
snmp-server enable traps sysmgr cseFailSwCoreNotifyExtended
snmp-server enable traps config ccmCLIRunningConfigChanged
snmp-server enable traps snmp authentication
snmp-server enable traps link cisco-xcvr-mon-status-chg
snmp-server enable traps vtp notifs
snmp-server enable traps vtp vlancreate
snmp-server enable traps vtp vlandelete
snmp-server enable traps bridge newroot
snmp-server enable traps bridge topologychange
snmp-server enable traps stpx inconsistency
snmp-server enable traps stpx root-inconsistency
snmp-server enable traps stpx loop-inconsistency
snmp-server enable traps system Clock-change-notification
snmp-server enable traps feature-control ciscoFeatOpStatusChange
snmp-server enable traps mmode cseNormalModeChangeNotify
snmp-server enable traps mmode cseMaintModeChangeNotify
snmp-server community DevNetSandboxReadSNMP group network-operator
snmp-server community DevNetSandboxWriteSNMP group network-admin
ntp server 172.16.0.1 use-vrf default
ntp peer 172.16.1.11 use-vrf management key 1
ntp source-interface mgmt0
ntp authenticate
ntp authentication-key 1 md5 QPTFmtc 7
vlan 1-9,100-105
vlan 100
name mgmt
vlan 101
name LL_VLAN_DEMO1
vlan 102
name dev
vlan 103
name test
vlan 104
name security
vlan 105
name iot
vrf context management
ip route 0.0.0.0/0 10.10.20.254
vpc domain 10
interface Vlan1
interface Vlan100
description mgmt svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.100.1/24
ip router ospf 1 area 0.0.0.0
interface Vlan101
description prod svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.101.1/24
ip router ospf 1 area 0.0.0.0
interface Vlan102
description dev svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.102.1/24
ip router ospf 1 area 0.0.0.0
interface Vlan103
description test svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.103.1/24
ip router ospf 1 area 0.0.0.0
interface Vlan104
description security svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.104.1/24
ip router ospf 1 area 0.0.0.0
interface Vlan105
description iot svi - DEMO PLEASE DON'T TOUCH
ip address 172.16.105.1/24
ip router ospf 1 area 0.0.0.0
interface port-channel11
switchport mode trunk
switchport trunk allowed vlan 100-110
interface Ethernet1/1
switchport mode trunk
switchport trunk allowed vlan 100-110
channel-group 11
interface Ethernet1/2
switchport mode trunk
switchport trunk allowed vlan 100-110
channel-group 11
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
description L3 Link
no switchport
ip address 172.16.1.1/30
ip ospf network broadcast
no ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
interface Ethernet1/26
interface Ethernet1/27
interface Ethernet1/28
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface Ethernet1/33
interface Ethernet1/34
interface Ethernet1/35
interface Ethernet1/36
interface Ethernet1/37
interface Ethernet1/38
interface Ethernet1/39
interface Ethernet1/40
interface Ethernet1/41
interface Ethernet1/42
interface Ethernet1/43
interface Ethernet1/44
interface Ethernet1/45
interface Ethernet1/46
interface Ethernet1/47
interface Ethernet1/48
interface Ethernet1/49
interface Ethernet1/50
interface Ethernet1/51
interface Ethernet1/52
interface Ethernet1/53
interface Ethernet1/54
interface Ethernet1/55
interface Ethernet1/56
interface Ethernet1/57
interface Ethernet1/58
interface Ethernet1/59
interface Ethernet1/60
interface Ethernet1/61
interface Ethernet1/62
interface Ethernet1/63
interface Ethernet1/64
interface mgmt0
description DO NOT TOUCH CONFIG ON THIS INTERFACE
vrf member management
ip address 10.10.20.95/24
interface loopback1
ip address 172.16.0.1/32
interface loopback30
description My Learning Lab Loopback
interface loopback98
description Configured using OpenConfig Model
ip address 10.98.98.1/24
interface loopback99
description Full intf config via NETCONF
ip address 10.99.99.1/24
line console
exec-timeout 0
terminal width 511
line vty
boot nxos bootflash:/nxos.9.3.3.bin sup-1
router ospf 1
router-id 172.16.0.1
passive-interface default
router bgp 65535
router-id 172.16.0.1
timers prefix-peer-timeout 30
address-family ipv4 unicast
network 172.16.0.0/16
neighbor 172.16.0.2
remote-as 65535
no logging console
telemetry
sensor-group 1
path sys/intf/phys-[eth1/11] depth 0
Expand Down
File renamed without changes.
File renamed without changes.
Empty file added quokka/views/ui/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added quokka/views/worker/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2d3af77

Please sign in to comment.