Skip to content
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

Release 1.6.27 #236

Merged
merged 94 commits into from
Nov 17, 2022
Merged

Release 1.6.27 #236

merged 94 commits into from
Nov 17, 2022

Conversation

trad511
Copy link
Collaborator

@trad511 trad511 commented Nov 17, 2022

Summary and Scope

Overview:

  • CANU versioning management and the build pipeline has been entirely reworked. End-users should experience no change, but behind the scenes this helps tremendously.
  • A unnecessary Control Plane ACL, previously removed for other CSM versions was removed for CSM 1.2.
  • CAN port configurations are now removed from switch ports if the CHN is enabled.
  • canu validate shcd-cabling and canu validate paddle-cabling have been fixed to better handle incoming LLDP data. This required enhancement of the CANU internal network model.
  • Output of many commands has been cleaned up and better next-step guidance added when errors are found.

Details:

  • Fix the CANU model to allow "cable swapping" while using LLDP data.
  • Update generated docs from template changes.
  • Fix sls_utils so that it works correctly when using a SLS.json file.
  • Shutdown UAN CAN port when CHN is enabled.
  • Remove Control Plane ACL for CSM 1.2 previously missed.
  • Update Arista BGP templates.
  • Add feature flag for CHN BGP control plane.
  • Fix ordering of switch configuration when using custom switch configs or --reorder.
  • Node types and model lookups:
    • Fix login node Shasta name for v1 architecture.
    • Added gpu and kvm node definitions to v1 architecture.
    • Add gpu node definitions to v2 TDS architecture.
  • Messaging and Error cleanup:
    • Added logging to canu generate switch/network config to clean up output.
    • Provided better messaging about next-step handling of missing configs in generated files.
    • Provide better guidance during SHCD validation if port re-use/change is attempted.

rustydb and others added 30 commits October 14, 2022 14:23
This removes the `.version` files and uses git-tags. `canu` now versions
itself within `setup.py` based on `git describe --tags`.

This also builds canu inside of the RPM `specfile` using `pyinstaller`
and no longer uses a special `pyinstaller` image.

The spec file will create a `canu` user.

All of the `requirements` files were converted into `setup.py`, this
tidies up the repository by using less files.

All references to the `.version` files were replaced by leveraging the
`pkg_resources` module to fetch the version from the module `PKG_INFO`.

This also breaks apart the GitHub actions for lint, docs, and tests into
their own workflows allowing for more parallelization.

Lastly this adds an automated, weekly dependabot scan for making PRs to
update dependencies.
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.2 to 3.1.2.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.0.2...3.1.2)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [openpyxl](https://openpyxl.readthedocs.io) from 3.0.9 to 3.0.10.

---
updated-dependencies:
- dependency-name: openpyxl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.4.1 to 6.0.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](yaml/pyyaml@5.4.1...6.0)

---
updated-dependencies:
- dependency-name: pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [nornir-scrapli](https://github.com/scrapli/nornir_scrapli) from 2022.1.30 to 2022.7.30.
- [Release notes](https://github.com/scrapli/nornir_scrapli/releases)
- [Commits](scrapli/nornir_scrapli@2022.01.30...2022.07.30)

---
updated-dependencies:
- dependency-name: nornir-scrapli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [kubernetes](https://github.com/kubernetes-client/python) from 20.13.0 to 24.2.0.
- [Release notes](https://github.com/kubernetes-client/python/releases)
- [Changelog](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md)
- [Commits](kubernetes-client/python@v20.13.0...v24.2.0)

---
updated-dependencies:
- dependency-name: kubernetes
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
lukebates123 and others added 19 commits November 8, 2022 13:40
Signed-off-by: lukebates123 <[email protected]>
If Snyk scanning is ever added, then `setup.py` will be referred to in
an isolated environment for dependnecy scanning that does not contain
`PKG-INFO` (or `.git/` for that matter). Snyk will fail when invoking
`get_version()` unless it reesolves the version from the already
installed `canu` app.
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
14.7% 14.7% Duplication

@trad511 trad511 marked this pull request as ready for review November 17, 2022 17:46
@trad511 trad511 requested a review from a team as a code owner November 17, 2022 17:46
@trad511 trad511 changed the title Release 1.6.26 Release 1.6.27 Nov 17, 2022
@rustydb
Copy link
Contributor

rustydb commented Nov 17, 2022

Wait for #237 , it's coming in hot/shortly!

@trad511 trad511 merged commit 43ea79b into main Nov 17, 2022
lukebates123 pushed a commit that referenced this pull request Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants