Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
43a995e
Fix for top level == mdd:openconfig
jasonking3 Apr 12, 2023
4cd0aec
Fixes for sandbox NetBox version
jasonking3 Apr 12, 2023
7a75751
Update yamllint settings
jasonking3 Apr 17, 2023
fe508ec
Added interface translation for OC data
jasonking3 Apr 17, 2023
3abccb8
Updated for full key names and support for STP
jasonking3 Apr 17, 2023
92075db
Added option to set the parser command
jasonking3 Apr 17, 2023
1fa9ee4
Add devices to NetBox based on ansible inventory
jasonking3 Apr 17, 2023
d4c19a9
Added support for auto-generating CML lab and interface mapping
jasonking3 Apr 17, 2023
d237c4c
Updated collection version
jasonking3 Apr 17, 2023
2474c99
Added inventory_dir variable to control where interface mapping file …
jasonking3 Apr 17, 2023
803f607
Added var for setting scale when graphing
jasonking3 Apr 17, 2023
0451482
Fixing error in scale var
jasonking3 Apr 18, 2023
a185df8
Setting explicit type of scale parameter
jasonking3 Apr 18, 2023
fc57d7d
Fixes for interface mapping
jasonking3 Apr 18, 2023
8f1d90f
Moved device and interface mapping dicts to ansible vars
jasonking3 Apr 19, 2023
97fe0a3
CML lab generation fixes
jasonking3 Apr 19, 2023
878db3e
Fixed syntax error in regex
jasonking3 Apr 19, 2023
c1b2fa9
Cat9kv requires 24 ports (for 24-port version)
jasonking3 Apr 19, 2023
0ff1371
Improved support for NSO global settings
jasonking3 Apr 21, 2023
3862486
Added truncation of OSPF interfaces
jasonking3 Apr 25, 2023
b0d40ca
feat: add checks for MPLS and network instance interfaces
m0lass3s Apr 26, 2023
296832e
Added document start to YAML files
jasonking3 Apr 27, 2023
4a731ca
Fixed formatting to pass ansible-test
jasonking3 Apr 27, 2023
9ad768c
Updated 'all' target
jasonking3 Apr 27, 2023
8d828ee
Updated galaxy version to 1.2.6
jasonking3 Apr 27, 2023
5bc7118
refactor: use regex for interface search and replace
m0lass3s Apr 28, 2023
bb4eab3
Use single quotes for data since data from NSO may contain double quotes
jasonking3 Apr 28, 2023
c848e5a
Fixed error in l3switch day0 config
jasonking3 May 11, 2023
1a40163
Fixed ansible-test errors
jasonking3 May 11, 2023
79a535e
Updated to Draft202012Validator
jasonking3 May 11, 2023
04e1577
Renamed throttle variable to avoid conflict with Ansible built-in
jasonking3 May 17, 2023
3425c24
Fixes for mdd_combine
jasonking3 May 17, 2023
952dfe0
Use localhost for nso_init
jasonking3 May 25, 2023
c5f9f2c
Fixes to NSO role
jasonking3 May 25, 2023
e11d475
Update galaxy.yml
jasonking3 May 25, 2023
36d7eb4
Inital commit of elevate_configs code to branch
May 31, 2023
5390bd9
Linting code
May 31, 2023
27b9476
more linting
May 31, 2023
536aa3e
Commting mostly stable version of code which can handle tagging, howe…
Jun 2, 2023
71bf750
Commiting stable version of elevate with tags
Jun 2, 2023
b0698bb
Updating collection/combine code to work with merged+tagged files
Jun 6, 2023
44a671c
Fixing import and documentation issues
Jun 6, 2023
eac6195
Removing original yaml import
Jun 6, 2023
5b15076
Fixing module use in wrong part of code
Jun 6, 2023
10356e6
More small changes for pipeline to pass
Jun 6, 2023
a3182d8
Fixing syntax issue
Jun 6, 2023
5c36e82
Fixing type declarations
Jun 6, 2023
10d8ab6
Removing parameter types and return types
Jun 6, 2023
35a9112
Fixing paramter requirements in python module
Jun 6, 2023
ac00876
fixing documentation for gather facts
Jun 6, 2023
2e1775b
Implemented tags functionality. Also implemented dynamic data aggrega…
Jun 8, 2023
e9b01ff
Fixing pep8 style issues
Jun 8, 2023
51753b5
Fixing indent
Jun 8, 2023
dfe25a4
removing unused import
Jun 8, 2023
75823f8
Fixing minor bugs, and ensuring tag order
Jun 8, 2023
1cc3beb
Updating algorithm for stability and speed
Jun 28, 2023
4198284
Fixing pep8 linting
Jun 28, 2023
beeebe6
fixing linting and docs
Jun 28, 2023
20a332b
fixing linting and docs again
Jun 28, 2023
d8daa6d
fixing linting and docs againx2
Jun 28, 2023
400a865
Implementing elevate testing in ci workflow
Jul 7, 2023
50d2f00
Fixing path to test playbook
Jul 7, 2023
c30f4ed
debugging
Jul 7, 2023
03f731b
Fixing directory
Jul 7, 2023
f1084d9
location fix issue for elevate playbook
Jul 7, 2023
b525897
removing .yml extension
Jul 7, 2023
7b37c37
Further ci testing
Jul 7, 2023
0db926f
fixing path to test file
Jul 7, 2023
7455d6f
attempt to run clean
Jul 7, 2023
d4023ee
add clone mdd
Jul 7, 2023
6b1db6f
fixing github repo link
Jul 7, 2023
ca0c653
Debugging mdd repo clone
Jul 7, 2023
249cca6
Adding galaxy collection install
Jul 7, 2023
8ab0531
adding correct clone and collection install commands
Jul 7, 2023
b01f664
fixing repo path
Jul 7, 2023
0b30e28
fethcing correct mdd ansible galaxy collection
Jul 7, 2023
5a57740
fixing dir structure
Jul 7, 2023
bebf4cd
Fixing linting
Jul 7, 2023
40c8bad
Updating playbook path
Jul 7, 2023
7506b8d
updating playbook path
Jul 7, 2023
48f1eac
updating playbook path x2
Jul 7, 2023
0db6039
updating path to be dynamic to current branch
Jul 7, 2023
dec0ecc
Adding better install of galaxy mdd collection
Jul 7, 2023
826fb0d
Adding in testing reference topology and code to remove the existing …
Jul 7, 2023
72e4331
adding ls command
Jul 7, 2023
dfcd3a4
fixing ls path
Jul 7, 2023
32ce165
updating path
Jul 7, 2023
f93de73
updating path to ansible collection code
Jul 7, 2023
93ea90a
changing ls path
Jul 7, 2023
ff9f68e
changing from workflow dir to .github dir
Jul 7, 2023
ecc9506
changing ls
Jul 7, 2023
95d4875
moving testing files to testing dir
Jul 10, 2023
d5a5dc7
updating ci
Jul 10, 2023
966f0ca
more updates to ci workflow
Jul 10, 2023
22b939b
changing path location
Jul 10, 2023
56e7dff
checking .github path for file presence
Jul 10, 2023
baa70ca
reverting to using .github to store testing files
Jul 10, 2023
3cd3b38
removing bad file path
Jul 10, 2023
c90c68a
changing to vars, and running elevate
Jul 10, 2023
7e23cf6
adding custom testing mdd.yml file
Jul 10, 2023
09b64d2
Adding diff and updated show playbooks, as well as updating ci run
Jul 10, 2023
4d5a4b4
updating py version to 3.10
Jul 10, 2023
d35086a
Removing commented code and cleaning up
Jul 10, 2023
e219435
Resolving merge conflict
Jul 10, 2023
7475829
Merge branch 'main' into ppajersk-dev
jasonking3 Jul 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/testing-files/mdd-data/org/region1/hq/WAN-rtr1/oc-acl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
mdd_data:
mdd:openconfig:
openconfig-acl:acl:
openconfig-acl:acl-sets:
openconfig-acl:acl-set: []
openconfig-acl:interfaces:
openconfig-acl:interface: []
openconfig-acl-ext:lines:
openconfig-acl-ext:line: []
mdd_tags:
- WAN_router
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
---
mdd_data:
mdd:openconfig:
openconfig-interfaces:interfaces:
openconfig-interfaces:interface:
- openconfig-interfaces:name: GigabitEthernet1
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet1
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: true
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: true
openconfig-if-ip:ipv4:
openconfig-if-ip:addresses:
openconfig-if-ip:address: []
openconfig-if-ip:config:
openconfig-if-ip:dhcp-client: true
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet2
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet2
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet3
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet3
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet4
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet4
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet5
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet5
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet6
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet6
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet7
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet7
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
- openconfig-interfaces:name: GigabitEthernet8
openconfig-interfaces:config:
openconfig-interfaces:name: GigabitEthernet8
openconfig-interfaces:type: ethernetCsmacd
openconfig-interfaces:enabled: false
openconfig-interfaces:subinterfaces:
openconfig-interfaces:subinterface:
- openconfig-interfaces:index: 0
openconfig-interfaces:config:
openconfig-interfaces:index: 0
openconfig-interfaces:enabled: false
openconfig-if-ethernet:ethernet:
openconfig-if-ethernet:config:
openconfig-if-ethernet:auto-negotiate: true
mdd_tags:
- WAN_router
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
mdd_data:
mdd:openconfig:
openconfig-network-instance:network-instances:
openconfig-network-instance:network-instance:
- openconfig-network-instance:name: default
openconfig-network-instance:config:
openconfig-network-instance:name: default
openconfig-network-instance:type: DEFAULT_INSTANCE
openconfig-network-instance:enabled: 'true'
openconfig-network-instance:protocols:
openconfig-network-instance:protocol:
- openconfig-network-instance:identifier: STATIC
openconfig-network-instance:name: DEFAULT
openconfig-network-instance:config:
openconfig-network-instance:identifier: STATIC
openconfig-network-instance:name: DEFAULT
openconfig-network-instance:static-routes:
openconfig-network-instance:static: []
openconfig-network-instance:interfaces:
openconfig-network-instance:interface: []
openconfig-network-instance:vlans:
openconfig-network-instance:vlan: []
- openconfig-network-instance:name: Mgmt-intf
openconfig-network-instance:config:
openconfig-network-instance:name: Mgmt-intf
openconfig-network-instance:type: L3VRF
openconfig-network-instance:enabled: 'true'
openconfig-network-instance:enabled-address-families:
- openconfig-types:IPV4
- openconfig-types:IPV6
openconfig-network-instance:protocols:
openconfig-network-instance:protocol: []
openconfig-network-instance:interfaces:
openconfig-network-instance:interface: []
mdd_tags:
- WAN_router
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
mdd_data:
mdd:openconfig:
openconfig-routing-policy:routing-policy:
openconfig-routing-policy:defined-sets:
openconfig-bgp-policy:bgp-defined-sets:
openconfig-bgp-policy:as-path-sets:
openconfig-bgp-policy:as-path-set: []
openconfig-bgp-policy:community-sets:
openconfig-bgp-policy:community-set: []
openconfig-bgp-policy:ext-community-sets:
openconfig-bgp-policy:ext-community-set: []
openconfig-routing-policy:tag-sets:
openconfig-routing-policy:tag-set: []
openconfig-routing-policy:prefix-sets:
openconfig-routing-policy:prefix-set: []
openconfig-routing-policy:policy-definitions:
openconfig-routing-policy:policy-definition: []
mdd_tags:
- WAN_router
18 changes: 18 additions & 0 deletions .github/testing-files/mdd-data/org/region1/hq/WAN-rtr1/oc-stp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
mdd_data:
mdd:openconfig:
openconfig-spanning-tree:stp:
openconfig-spanning-tree:global:
openconfig-spanning-tree:config: {}
openconfig-spanning-tree:interfaces:
openconfig-spanning-tree:interface: []
openconfig-spanning-tree:rapid-pvst:
openconfig-spanning-tree:vlan: []
openconfig-spanning-tree-ext:pvst:
openconfig-spanning-tree-ext:vlan: []
openconfig-spanning-tree:mstp:
openconfig-spanning-tree:config: {}
openconfig-spanning-tree:mst-instances:
openconfig-spanning-tree:mst-instance: []
mdd_tags:
- WAN_router
121 changes: 121 additions & 0 deletions .github/testing-files/mdd-data/org/region1/hq/WAN-rtr1/oc-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
---
mdd_data:
mdd:openconfig:
openconfig-system:system:
openconfig-system:aaa:
openconfig-system:server-groups:
openconfig-system:server-group: []
openconfig-system:accounting: {}
openconfig-system:authorization: {}
openconfig-system:authentication: {}
openconfig-system:clock:
openconfig-system:config:
openconfig-system:timezone-name: UTC 0 0
openconfig-system:config:
openconfig-system:hostname: WAN-rtr1
openconfig-system:dns:
openconfig-system:servers:
openconfig-system:server: []
openconfig-system:logging:
openconfig-system:console:
openconfig-system:config:
openconfig-system-ext:enabled: true
openconfig-system:selectors:
openconfig-system:selector:
- openconfig-system:facility: SYSLOG
openconfig-system:severity: DEBUG
openconfig-system:config:
openconfig-system:facility: SYSLOG
openconfig-system:severity: DEBUG
openconfig-system-ext:terminal-monitor:
openconfig-system-ext:selectors:
openconfig-system-ext:selector:
- openconfig-system-ext:facility: SYSLOG
openconfig-system-ext:severity: DEBUG
openconfig-system-ext:config:
openconfig-system-ext:facility: SYSLOG
openconfig-system-ext:severity: DEBUG
openconfig-system:remote-servers: {}
openconfig-system-ext:buffered:
openconfig-system-ext:config:
- openconfig-system-ext:enabled: true
openconfig-system-ext:severity: DEBUG
openconfig-system-ext:buffer-size: '4096'
openconfig-system:ntp:
openconfig-system:config: {}
openconfig-system:ntp-keys:
openconfig-system:ntp-key: []
openconfig-system:servers:
openconfig-system:server: []
openconfig-system:ssh-server:
openconfig-system:config:
openconfig-system-ext:ssh-timeout: 60
openconfig-system:protocol-version: V2
openconfig-system:timeout: 1800
openconfig-system-ext:absolute-timeout-minutes: 60
openconfig-system:session-limit: 16
openconfig-system-ext:algorithm:
openconfig-system-ext:config:
openconfig-system-ext:encryption:
- aes128-ctr
- aes192-ctr
- aes256-ctr
openconfig-system-ext:services:
openconfig-system-ext:http:
openconfig-system-ext:config:
openconfig-system-ext:http-enabled: true
openconfig-system-ext:https-enabled: true
openconfig-system-ext:ip-http-max-connections: 2
openconfig-system-ext:ip-http-timeout-policy:
openconfig-system-ext:idle:
openconfig-system-ext:config: {}
openconfig-system-ext:config:
openconfig-system-ext:ip-domain-lookup: true
openconfig-system-ext:archive-logging: false
openconfig-system-ext:ip-bootp-server: false
openconfig-system-ext:ip-dns-server: false
openconfig-system-ext:ip-identd: false
openconfig-system-ext:ip-rcmd-rcp-enable: false
openconfig-system-ext:ip-rcmd-rsh-enable: false
openconfig-system-ext:finger: false
openconfig-system-ext:service-config: false
openconfig-system-ext:service-tcp-small-servers: false
openconfig-system-ext:service-udp-small-servers: false
openconfig-system-ext:service-pad: false
openconfig-system-ext:service-password-encryption: false
openconfig-system-ext:ip-gratuitous-arps: true
openconfig-system-ext:login-security-policy:
openconfig-system-ext:config:
openconfig-system-ext:on-success: true
openconfig-system-ext:on-failure: false
openconfig-system-ext:block-for:
openconfig-system-ext:config: {}
openconfig-system-ext:object-tracking:
openconfig-system-ext:config:
openconfig-system-ext:timer: {}
openconfig-system-ext:object-track: []
openconfig-system-ext:key-chains:
openconfig-system-ext:key-chain: []
openconfig-system-ext:boot-network:
openconfig-system-ext:config:
openconfig-system-ext:bootnetwork-enabled: DISABLED
openconfig-system-ext:nat:
openconfig-system-ext:pools:
openconfig-system-ext:pool: []
openconfig-system-ext:inside:
openconfig-system-ext:source: {}
openconfig-system-ext:timestamps:
openconfig-system-ext:logging:
openconfig-system-ext:config:
openconfig-system-ext:enabled: true
openconfig-system-ext:datetime: true
openconfig-system-ext:uptime: false
openconfig-system-ext:localtime: false
openconfig-system-ext:debugging:
openconfig-system-ext:config:
openconfig-system-ext:enabled: true
openconfig-system-ext:datetime: true
openconfig-system-ext:uptime: false
openconfig-system-ext:localtime: false
mdd_tags:
- WAN_router
12 changes: 12 additions & 0 deletions .github/testing-files/mdd-data/org/region1/hq/hq-pop/oc-acl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
mdd_data:
mdd:openconfig:
openconfig-acl:acl:
openconfig-acl:acl-sets:
openconfig-acl:acl-set: []
openconfig-acl:interfaces:
openconfig-acl:interface: []
openconfig-acl-ext:lines:
openconfig-acl-ext:line: []
mdd_tags:
- hq_pop
Loading