generated from Cray-HPE/metal-template
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add regex support for lookup_mapper #35
Comments
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 25, 2021
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
jacobsalmela
added a commit
that referenced
this issue
Oct 26, 2021
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
trad511
pushed a commit
that referenced
this issue
Oct 26, 2021
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
trad511
added a commit
that referenced
this issue
Dec 1, 2021
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]>
trad511
added a commit
that referenced
this issue
Jan 7, 2022
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]>
trad511
added a commit
that referenced
this issue
Jan 24, 2022
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
trad511
added a commit
that referenced
this issue
Feb 18, 2022
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * Update .version * CASMINST-3485 (#75) * Update sls.py * Update readme.md * Add howto on releasing a new CANU version. * Bump lxml from 4.6.4 to 4.6.5 (#73) Bumps [lxml](https://github.com/lxml/lxml) from 4.6.4 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](lxml/lxml@lxml-4.6.4...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-1112: Fix PDU naming and add lm/lmem and gateway/gw nodes. (#77) * Fix PDU naming and add LM nodes. * Add gateway nodes, fix PDU naming, add lm nodes. * Update Golden SHCDs and tests to add pdu, gateway and lm hardware. * Fix lxml lib vulnerability * CASMNET-1119 (#82) * update mellanox port ISL port speed * Update readme.md Co-authored-by: lukebates123 <[email protected]> * update mellanox templates (#83) Co-authored-by: lukebates123 <[email protected]> * CASMNET-1125 (#84) * mellanox template fixes * readme * fix tests and templates * version bump Co-authored-by: lukebates123 <[email protected]> * CASMNET-1127 - Add switch configuration banners and SLES rpm install instructions (#85) * Add banner and rpm install docs. * Remove debug. * changed order of banner to match other templates * update test Co-authored-by: lukebates123 <[email protected]> Co-authored-by: lukebates123 <[email protected]> * Update readme.md (#66) .venv canu install directions are incorrect. Assuming I'm in the canu repo, I'll install . setup.py is locaded at ., not at ./canu Co-authored-by: cjohnson-hpe <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * CASMNET-1131 (#86) * level set 1.0 templates with 1.2, add CMN acl * add CAN ip-helpers Co-authored-by: lukebates123 <[email protected]> * CASMNET-1091 (#87) * remove hard coding ASN * remove print statements Co-authored-by: lukebates123 <[email protected]> * CASMINST-3986 (#89) * fix mellanox web interface command * readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-938 (#88) * update canu validate * canu validate improvements * testing different build image in makefile * build image test #2 * rollback build_image in makefile * testing new build_image * Update .version Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Dat Le <[email protected]> * Feature/casmnet 1149 (#95) * updated jenkins build targets to be sles sp2 and sp3 * add tag to build_image in Makefile Co-authored-by: Dat Le <[email protected]> * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address (#94) * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address. * CASMINST-4000 CASMNET-1153 (#93) * fix tests * remove lacp-individual Co-authored-by: lukebates123 <[email protected]> * Rollback (#96) * revert all the things * rollback image Co-authored-by: lukebates123 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: cjohnson-hpe <[email protected]>
lukebates123
added a commit
that referenced
this issue
Mar 1, 2022
* Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
lukebates123
added a commit
that referenced
this issue
Mar 1, 2022
* Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a745755. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md * Update .version * lint, docs * Update .version Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
trad511
added a commit
that referenced
this issue
Mar 2, 2022
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a7457554ae82e8142fbdaa5c09742a58d4404372. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * Update .version * CASMINST-3485 (#75) * Update sls.py * Update readme.md * Add howto on releasing a new CANU version. * Bump lxml from 4.6.4 to 4.6.5 (#73) Bumps [lxml](https://github.com/lxml/lxml) from 4.6.4 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.4...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-1112: Fix PDU naming and add lm/lmem and gateway/gw nodes. (#77) * Fix PDU naming and add LM nodes. * Add gateway nodes, fix PDU naming, add lm nodes. * Update Golden SHCDs and tests to add pdu, gateway and lm hardware. * Fix lxml lib vulnerability * CASMNET-1119 (#82) * update mellanox port ISL port speed * Update readme.md Co-authored-by: lukebates123 <[email protected]> * update mellanox templates (#83) Co-authored-by: lukebates123 <[email protected]> * CASMNET-1125 (#84) * mellanox template fixes * readme * fix tests and templates * version bump Co-authored-by: lukebates123 <[email protected]> * CASMNET-1127 - Add switch configuration banners and SLES rpm install instructions (#85) * Add banner and rpm install docs. * Remove debug. * changed order of banner to match other templates * update test Co-authored-by: lukebates123 <[email protected]> Co-authored-by: lukebates123 <[email protected]> * Update readme.md (#66) .venv canu install directions are incorrect. Assuming I'm in the canu repo, I'll install . setup.py is locaded at ., not at ./canu Co-authored-by: cjohnson-hpe <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * CASMNET-1131 (#86) * level set 1.0 templates with 1.2, add CMN acl * add CAN ip-helpers Co-authored-by: lukebates123 <[email protected]> * CASMNET-1091 (#87) * remove hard coding ASN * remove print statements Co-authored-by: lukebates123 <[email protected]> * CASMINST-3986 (#89) * fix mellanox web interface command * readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-938 (#88) * update canu validate * canu validate improvements * testing different build image in makefile * build image test #2 * rollback build_image in makefile * testing new build_image * Update .version Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Dat Le <[email protected]> * Feature/casmnet 1149 (#95) * updated jenkins build targets to be sles sp2 and sp3 * add tag to build_image in Makefile Co-authored-by: Dat Le <[email protected]> * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address (#94) * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address. * CASMINST-4000 CASMNET-1153 (#93) * fix tests * remove lacp-individual Co-authored-by: lukebates123 <[email protected]> * Rollback (#96) * revert all the things * rollback image Co-authored-by: lukebates123 <[email protected]> * CASMNET-1160 (#99) * Add initial canu backup feature * update requirements * add more to canu backup * provide output of saved configs * Update .version Co-authored-by: lukebates123 <[email protected]> * CASMNET-1159 (#100) * Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a7457554ae82e8142fbdaa5c09742a58d4404372. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit a7457554ae82e8142fbdaa5c09742a58d4404372. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Revert "CASMNET-1159 (#100)" (#101) This reverts commit 55c21635f94392449b04819ead67bed02c0a316d. * CASMNET-1159 (#102) * Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file o…
lukebates123
pushed a commit
that referenced
this issue
Apr 8, 2024
new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]>
lukebates123
pushed a commit
that referenced
this issue
Apr 8, 2024
this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * Update .version * CASMINST-3485 (#75) * Update sls.py * Update readme.md * Add howto on releasing a new CANU version. * Bump lxml from 4.6.4 to 4.6.5 (#73) Bumps [lxml](https://github.com/lxml/lxml) from 4.6.4 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](lxml/lxml@lxml-4.6.4...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-1112: Fix PDU naming and add lm/lmem and gateway/gw nodes. (#77) * Fix PDU naming and add LM nodes. * Add gateway nodes, fix PDU naming, add lm nodes. * Update Golden SHCDs and tests to add pdu, gateway and lm hardware. * Fix lxml lib vulnerability * CASMNET-1119 (#82) * update mellanox port ISL port speed * Update readme.md Co-authored-by: lukebates123 <[email protected]> * update mellanox templates (#83) Co-authored-by: lukebates123 <[email protected]> * CASMNET-1125 (#84) * mellanox template fixes * readme * fix tests and templates * version bump Co-authored-by: lukebates123 <[email protected]> * CASMNET-1127 - Add switch configuration banners and SLES rpm install instructions (#85) * Add banner and rpm install docs. * Remove debug. * changed order of banner to match other templates * update test Co-authored-by: lukebates123 <[email protected]> Co-authored-by: lukebates123 <[email protected]> * Update readme.md (#66) .venv canu install directions are incorrect. Assuming I'm in the canu repo, I'll install . setup.py is locaded at ., not at ./canu Co-authored-by: cjohnson-hpe <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * CASMNET-1131 (#86) * level set 1.0 templates with 1.2, add CMN acl * add CAN ip-helpers Co-authored-by: lukebates123 <[email protected]> * CASMNET-1091 (#87) * remove hard coding ASN * remove print statements Co-authored-by: lukebates123 <[email protected]> * CASMINST-3986 (#89) * fix mellanox web interface command * readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-938 (#88) * update canu validate * canu validate improvements * testing different build image in makefile * build image test #2 * rollback build_image in makefile * testing new build_image * Update .version Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Dat Le <[email protected]> * Feature/casmnet 1149 (#95) * updated jenkins build targets to be sles sp2 and sp3 * add tag to build_image in Makefile Co-authored-by: Dat Le <[email protected]> * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address (#94) * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address. * CASMINST-4000 CASMNET-1153 (#93) * fix tests * remove lacp-individual Co-authored-by: lukebates123 <[email protected]> * Rollback (#96) * revert all the things * rollback image Co-authored-by: lukebates123 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: cjohnson-hpe <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](23andMe/Yamale@3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md * Update .version * lint, docs * Update .version Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]>
lukebates123
added a commit
that referenced
this issue
Apr 8, 2024
* Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e43ada55a10e9673b9712e35744cf79bd4. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * Update .version * CASMINST-3485 (#75) * Update sls.py * Update readme.md * Add howto on releasing a new CANU version. * Bump lxml from 4.6.4 to 4.6.5 (#73) Bumps [lxml](https://github.com/lxml/lxml) from 4.6.4 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.4...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-1112: Fix PDU naming and add lm/lmem and gateway/gw nodes. (#77) * Fix PDU naming and add LM nodes. * Add gateway nodes, fix PDU naming, add lm nodes. * Update Golden SHCDs and tests to add pdu, gateway and lm hardware. * Fix lxml lib vulnerability * CASMNET-1119 (#82) * update mellanox port ISL port speed * Update readme.md Co-authored-by: lukebates123 <[email protected]> * update mellanox templates (#83) Co-authored-by: lukebates123 <[email protected]> * CASMNET-1125 (#84) * mellanox template fixes * readme * fix tests and templates * version bump Co-authored-by: lukebates123 <[email protected]> * CASMNET-1127 - Add switch configuration banners and SLES rpm install instructions (#85) * Add banner and rpm install docs. * Remove debug. * changed order of banner to match other templates * update test Co-authored-by: lukebates123 <[email protected]> Co-authored-by: lukebates123 <[email protected]> * Update readme.md (#66) .venv canu install directions are incorrect. Assuming I'm in the canu repo, I'll install . setup.py is locaded at ., not at ./canu Co-authored-by: cjohnson-hpe <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * CASMNET-1131 (#86) * level set 1.0 templates with 1.2, add CMN acl * add CAN ip-helpers Co-authored-by: lukebates123 <[email protected]> * CASMNET-1091 (#87) * remove hard coding ASN * remove print statements Co-authored-by: lukebates123 <[email protected]> * CASMINST-3986 (#89) * fix mellanox web interface command * readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-938 (#88) * update canu validate * canu validate improvements * testing different build image in makefile * build image test #2 * rollback build_image in makefile * testing new build_image * Update .version Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Dat Le <[email protected]> * Feature/casmnet 1149 (#95) * updated jenkins build targets to be sles sp2 and sp3 * add tag to build_image in Makefile Co-authored-by: Dat Le <[email protected]> * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address (#94) * CASMNET-1136 - Configure each Mellanox virtual router with a unique MAC address. * CASMINST-4000 CASMNET-1153 (#93) * fix tests * remove lacp-individual Co-authored-by: lukebates123 <[email protected]> * Rollback (#96) * revert all the things * rollback image Co-authored-by: lukebates123 <[email protected]> * CASMNET-1160 (#99) * Add initial canu backup feature * update requirements * add more to canu backup * provide output of saved configs * Update .version Co-authored-by: lukebates123 <[email protected]> * CASMNET-1159 (#100) * Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release * Remove unused jsonschema import. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukebates123 <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.1 (#71) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e43ada55a10e9673b9712e35744cf79bd4. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * version bump Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> * Release 1.1.3 (#74) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file output * format * remove canu.test * define heir config version * canu/generate/network/config/config.py * add override.yaml test * added override option * add override config to config file output * format * remove canu.test * updated tests for config ignore file * fix config output comments * .yaml format, updated readme * fix options.yaml * fix requirements.txt * added override config option to config validate * re-order to fix tests * updated readme * updated readme * change where override file is opened * fix flake8 * updated tests/requirements Co-authored-by: lukebates123 <[email protected]> * Fix many template issues (#27) Co-authored-by: lukebates123 <[email protected]> * Feature/mellanox-bgp (#28) * config bgp mellanox * config bgp tests * update readme * CASMNET-858: Create initial Dell and Mellanox configuration templates - WIP (#12) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * fixed sw-leaf-bmc config template * dellanox template updates * added dellanox MTN templates * Added dellanox MTN templates Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: lukebates123 <[email protected]> * change --shasta flag to --csm (#31) * add regex support, closes #35 (#37) new entries added to cray-network-architecture can now contain a 'regex:' key, which is a list of regex patterns to be searched. an example is that pdus can have a name like x3000p1 or pdup1, so this allows the user to search for both. Signed-off-by: Jacob Salmela <[email protected]> * add PDU hardware types, closes #36 (#38) this adds pdus, which requires #35 to work properly. It can find pdus with names like x3000p1 and pdup1. Signed-off-by: Jacob Salmela <[email protected]> * mac-address-table lookup (#30) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates Co-authored-by: kosonenj <[email protected]> * CASMNET-960 Add warning for unknown devices (#32) * change --shasta flag to --csm * add warning for unknown devices * Add PR template (#34) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-991 - fix pip3 depenancy for container environment (#42) Co-authored-by: Dat Le <[email protected]> * add pdus to network hardware and architecture (#41) Signed-off-by: Jacob Salmela <[email protected]> * Feature/shcd cabling (#46) * dell-mellanox phase 1 * dellanox phase 2 * moving files * remove old files * phase to relocate files, new variables * fixes as per Lukes review * fix build error * fixes roud 2 * dell mellanox config gen first pass * update requirements * update test requirements * rpm build update * lint * update docs for Dell and Mellanox * added extra configs * add mac-address-table and mac lookup * enable mac lookup offline * add mac vendors file to installer * add function to update mac vendors (unused) * fix templates * update shcd-cabling, fix find_mac, and file out * add shcd-cabling tests * updated docs * fix for HMN slot warning always None Co-authored-by: kosonenj <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> * Casmnet-987 (#43) * Dellanox Template ordering * more templates * add dell/mellanox tests * fix dellanox config generation * dellanox stp updates Co-authored-by: lukebates123 <[email protected]> * CASMNET-1003 added CMN support for dell,mellanox,aruba (#47) * added CMN support for dell,mellanox,aruba * update readme * add mgmt plane ACL and metallb * update readme * removed hard coded variables from aruba templates * add variaibles to dellanox templates * readme * added csm version templates * update templates * updated pyinstaller * added dellanox to canu validate switch config * rollback netmiko setting Co-authored-by: lukebates123 <[email protected]> * add contributing guide (#39) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Feature/subrack (#50) * add sub_location to NodeLocation * add SubRack * readme Co-authored-by: Sean Lynn <[email protected]> * add code of conduct file (#40) Signed-off-by: Jacob Salmela <[email protected]> * Feature/docs (#48) * auto generating docs * update pics * update pic dir * update readme * Casmnet 896 bgp support (#49) * added Aruba BGP support * update aruba tests for BGP * added Mellanox BGP support * update mellanox template/tests * update readme * added support for Computes/HSN-bmcs/VizNodes/LoginNodes/pdu during config generation * update cray-network-architecture.yaml Co-authored-by: lukebates123 <[email protected]> * CASMNET-1031 add subrack to TDS arch (#52) * add subrack to TDS arch * add SubRack to config gen Co-authored-by: lukebates123 <[email protected]> * Paddle (#54) * add sub_location to NodeLocation * add SubRack * readme * addle paddle / CCJ support * paddle docs * add issue templates (#45) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1035 (#53) * Fix UAN lag#s, fix bgp template * fix dellanox 1.0 template * remove test print line * fix uan/viz/login code * update config.py * add VRF CAN to aruba BGP templates * CASMNET-929 * update BGP templates Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * MTL-1556 print ncn mac addresses for use with 'csi config shcd' (#51) Signed-off-by: Jacob Salmela <[email protected]> * CASMNET-1056 - Include jq in CANU docker image (#56) * CASMNET-1056 - Include jq in CANU docker image * CASMNET-1056 - Include jq in CANU docker image * CANU 1.0.0 Release (#57) * Revert "CANU 1.0.0 Release (#57)" (#58) This reverts commit 0583e4e43ada55a10e9673b9712e35744cf79bd4. * CASMNET-1060 update templates for CMN net (#60) * update templates for CMN net * review changes * fix cdu-spine template Co-authored-by: lukebates123 <[email protected]> * CASMNET-1070: Modify setup.py file globs to use migrated Jinja2 templates (#61) * Modify file globs to use migrated Jinja2 templates * Update changelog. * Casmnet 1071 - Update Dell and Mellanox CMN templates (#63) * update dellanox templates for CMN Co-authored-by: lukebates123 <[email protected]> * Casmnet 1088 (#65) * casmnet-1088 * add more logic to CMN creation * CASMNET-1089 * CASMNET-1090 * add additional error message * format Co-authored-by: lukebates123 <[email protected]> * CASMNET-1092 (#67) * CASMNET-1092 * CASMNET 1077 * CASMNET-966 * CASMNET-1098 * change how config file opens Co-authored-by: lukebates123 <[email protected]> * Casmnet 1099 (#68) * updated PR template, added STP timeout, updated develop version. * Added stp comment Co-authored-by: lukebates123 <[email protected]> Co-authored-by: Sean Lynn <[email protected]> * Update develop version (#70) * Update .version * Update .version * Casmnet 1071 Casmnet 1101 (#72) * fix dellanox speed on ports * readme and license * more license updates * licenses * jenkinsfile license * format * format * format * format * CASMNET-1101 * updated readme Co-authored-by: lukebates123 <[email protected]> * CASMNET-383 Added network tests (#55) * Added network tests using nornir * update to test framework * add additonal features to canu test * update pyinstaller * add nornir to imports * add nornir hook file * add metadata+doc string * reformat * add nornir-salt to hooks * pyinstaller * pyinstaller hook * add netmiko to pyinstaller hook * fix pyinstaller hooks * fix sls file requirement * comma * json print and readme updated * adding tests * update readme * Update test.py * update license * more licenses * yet another license * create sls_token function * remote request update * add sls file and update bgp tests * fix tests * update readme.md * version bump, add dell tests file * modify how we get sls data * more sls hardware bits * fix test * fix sls hardware * fix pyinstaller Co-authored-by: lukebates123 <[email protected]> Co-authored-by: root <[email protected]> * update readme Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Release 1.1.4 (#76) * Update .version * Update readme.md * Update sls.py * template fixes * fix tests, remove config bgp * fix templates, fix version * revert merge * fix gen switch config * Update shcd.py * fix dell options * fix mellanox options * fix mellanox tags * Delete cray-system-topology-schema.json * Delete Full_Architecture_Golden_Config_0.0.6.json * fix xlsx * Update validate_shcd.md Co-authored-by: Sean Lynn <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: batesl <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: Brooks Vinyard <[email protected]> Co-authored-by: dle-hpe <[email protected]> Co-authored-by: Dat Le <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> Co-authored-by: kosonenj <[email protected]> Co-authored-by: Chris Spiller <[email protected]> Co-authored-by: root <[email protected]> * Revert "CASMNET-1159 (#100)" (#101) This reverts commit 7197547da8e99bf4e400e6e8c33654b20f051a7b. * CASMNET-1159 (#102) * Release version 0.0.6 (#7) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Licensing and Copyright information. (#9) (#10) * Update Licensing and Copyright information. * Date bump. * CASMNET-1059: CANU 1.0.0 Release (#59) * Bump yamale from 3.0.4 to 3.0.8 (#2) Bumps [yamale](https://github.com/23andMe/Yamale) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/23andMe/Yamale/releases) - [Commits](https://github.com/23andMe/Yamale/compare/3.0.4...3.0.8) --- updated-dependencies: - dependency-name: yamale dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urllib3 from 1.26.3 to 1.26.5 (#1) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * CASMNET-834 Ensure mountain device names names are unique. (#4) * Ensure node unique naming and add JSON output. * Fix failing test. * Remove leftover refactoring cruft. * Remove debug output. * Patch a test for vendor assignment. * Version bump. (#6) * CASMNET-872 (#5) * added selective diff output * change tag load method * updated hier-config * made compatable with older hier_config Co-authored-by: batesl <[email protected]> * lint * cache switch vendor on canu init * lint * Update Licensing and Copyright information. (#9) * Update Licensing and Copyright information. * Date bump. * match SLS API * Merge branch 'develop' into feature/dellanox * Fix non-development installs. (#13) * Fix non-development installs. * Add config j2 templates to install. * Add yaml, json and j2 files to pyinstaller. * setup and cache nits. * One last version change - for rpm this time. * CASMNET-904 - add canu user home dir and workdir to container env (#16) Co-authored-by: Dat Le <[email protected]> * CASMNET-879 (#11) * pull out prefix len from SLS and apply to templates * updated tests, fixed acl templates * dynamically pull in VLANs from SLS to apply to CDU port configs * dynamically pull in IP address for CDU switch vlan interfaces * add prefix length * remove pprint, modify tests * fix tests and lint * remove uncessary loop * remove print statements * added ssh to vrf keepalive, allows for backdoor access * update readme Co-authored-by: lukebates123 <[email protected]> * Fix confusing warning and user guidance in config generation. (#18) * Add BMC ports to river compute and add tests. (#17) * CASMNET-885: Convert csi-folder cli to sls-file. (#19) * Convert csi-folder cli to sls-file. * Doc nits. * Feature/dellanox (#14) * lint * update requirements * remove version from hier-config * update readme * add license * lint * Add Dell and Mellanox and running config from file * update test * move running and generated configs to own folders * move cache functions to utils * add canu cache commands * Update readme.md (#21) * CASMNET-914: Move WIP document generation work. (#20) * Move WIP docs generation work. * Carriage return nit. * CASMNET-806 add hsn hardware to architecture (#22) Signed-off-by: Jacob Salmela <[email protected]> Co-authored-by: Jacob Salmela <[email protected]> * CASMNET-806: add PDU to to model/config (#25) * add additional compute node lookup_name to include both cn* and nid* style names both node names are used when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * add slurm lookup_name as a type of uan this allows the node to be presenet when generating hmn_connections.json file from csi Signed-off-by: Jacob Salmela <[email protected]> * Casmnet-908 configuration override/ignore (#23) * added override option * add override config to config file output * format * remove canu.test * added override option * add override config to config file o…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: