This change will automatically adjust versioning of the application
tarball and python plugins to reflect the same version reported by
SW_VERION in /etc/build.info.
Test plan:
PASS: build-pkgs -a & build-image
PASS: Confirm that the tarball version matches the platform version
PASS: Apply application
Story: 2010929
Task: 49352
Change-Id: Icbe84813337d647f1644681d9b88e28ee60fce1a
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
Modify code to conform to flake8 and pylint.
Jobs are now flake8, pylint, py39 and metadata.
Test Plan
PASS - All zuul jobs pass as expected.
Story: 2010929
Task: 49267
Change-Id: Ibc3ce1b45d54412544f73b9bea2c87b91e397353
Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
Upgrade sriov-fec-operator application to v2.7.1:
This change includes the following.
- Version upgrade of the operator to v2.7.1 which upgrades pf-bb-config
to v23.03.
- Additional support for deployments that use igb_uio driver to bind vf
interfaces.
- Support for operator deployment when secure boot is enabled.
- Support to configure FEC device resource names using the `system
helm-overrides command`.
- Support for multiple accelerator cards on the same node.
Test Status:
- PASS: Build application deb, generate tarball and build docker images
copy to stx active controller.
- PASS: Verify that app is uploaded, applied and operator pods are
created.
- PASS: Configure ACC100 using config file to create 1 VF.
- PASS: Bringup test-pod, request FEC VFs and validate sample dpdk
application test-bbdev.
- PASS: App upload, apply, remove, delete verified in simplex mode.
- PASS: Reboot test with operator method validated.
- PASS: Shellcheck tool test.
- PASS: N3000 testing.
- PASS: Configure ACC200 using config file to create 2 VFs.
Failure Tests:
- PASS: Applying Clusterconfig shall fail when fec operator is not
deployed.
- PASS: Operator deployment shall fail when docker image download fails
during system application-apply.
- PASS: Applying Clusterconfig shall fail with Wrong values in
clusterconfig yaml file:
- set vfAmount to >16 or 0.
- set wrong pci address.
- set wrong hostname.
- PASS: Removing the operator without deleting the clusterconfig fails
to delete the FEC VFs and subsequent re-apply will also fail.
- PASS: Modifying or Deleting sriovfecClusterconfig when test-pod is
running with FEC VFs mapped, test-pod gets automatically deleted since
FEC requested resources become unavailable.
Story: 2010826
Task: 48373
Change-Id: I34d8c37c851acb671eeccf77c7d713e933ad458c
Signed-off-by: Burla, Balendu <balendu.burla@intel.com>
Upgrade sriov-fec-operator application to v2.7.1:
This change includes the following.
- Version upgrade of the operator to v2.7.1 which upgrades pf-bb-config
to v23.03.
- Additional support for deployments that use igb_uio driver to bind vf
interfaces.
- Support for operator deployment when secure boot is enabled.
- Support to configure FEC device resource names using the `system
helm-overrides command`.
- Support for multiple accelerator cards on the same node.
Test Status:
- PASS: Build application deb, generate tarball and build docker images
copy to stx active controller.
- PASS: Verify that app is uploaded, applied and operator pods are
created.
- PASS: Configure ACC100 using config file to create 1 VF.
- PASS: Bringup test-pod, request FEC VFs and validate sample dpdk
application test-bbdev.
- PASS: App upload, apply, remove, delete verified in simplex mode.
- PASS: Reboot test with operator method validated.
- PASS: Shellcheck tool test.
- PASS: N3000 testing.
- PASS: Configure ACC200 using config file to create 2 VFs.
Failure Tests:
- PASS: Applying Clusterconfig shall fail when fec operator is not
deployed.
- PASS: Operator deployment shall fail when docker image download fails
during system application-apply.
- PASS: Applying Clusterconfig shall fail with Wrong values in
clusterconfig yaml file:
- set vfAmount to >16 or 0.
- set wrong pci address.
- set wrong hostname.
- PASS: Removing the operator without deleting the clusterconfig fails
to delete the FEC VFs and subsequent re-apply will also fail.
- PASS: Modifying or Deleting sriovfecClusterconfig when test-pod is
running with FEC VFs mapped, test-pod gets automatically deleted since
FEC requested resources become unavailable.
Story: 2010826
Task: 48373
Signed-off-by: Nidhi Shivashankara Belur <nidhi.shivashankara.belur@intel.com>
Change-Id: I3c1400dfa3b52ec77395a525171c99d52b4cc4a8
The sriov-fec-operator platform application must mark its namespace
with the "app.starlingx.io/component=platform" label in order to
ensure that kubernetes knows to run it on the platform cores.
Test Plan:
PASS: Apply sriov-fec-operator app, check that the label is set to
platform in the namespace
PASS: Update the label to application using system helm-override-update
re-apply application. Check that the label is updated.
PASS: Setting the label to other than 'platform' or 'application
does not change the label.
Story: 2010612
Task: 47984
Change-Id: I985040af6ece4975d2b8e2c82efd00ba816aeeba
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
Upgrade sriov-fec-operator application to v2.6.1
- This change includes version upgrade of the operator to v2.6.1 which
upgrades pf-bb-config to v22.11.
- This change is essential for operator deployment on the latest Intel
4th gen Xeon scalable processors.
- Updated License headers.
Test Status:
- PASS: Build application deb, generate tarball and build docker images,
copy to stx active controller.
- PASS: Verify that app is uploaded, applied and operator pods are
created.
- PASS: Configure ACC100 using config file to create upto 16 VFs.
- PASS: Bringup test-pod, request FEC VFs and validate sample dpdk
application test-bbdev.
- PASS: App upload, apply, remove, delete verified in simplex mode.
- PASS: Reboot test with operator method validated.
- PASS: Shellcheck tool test.
- PASS: N3000 testing.
- PASS: Configure ACC200 using config file to create 2 VFs.
Failure Tests:
- PASS: Applying Clusterconfig shall fail when fec operator is not
deployed.
- PASS: Operator deployment shall fail when docker image download fails
during system application-apply.
- PASS: Applying Clusterconfig shall fail with Wrong values in
clusterconfig yaml file:
- set vfAmount to >16 or 0.
- set wrong pci address.
- set wrong hostname.
- PASS: Removing the operator without deleting the clusterconfig fails
to delete the FEC VFs and subsequent re-apply will also fail.
- PASS: Modifying or Deleting sriovfecClusterconfig when test-pod is
running with FEC VFs mapped, test-pod gets automatically deleted since
FEC requested resources become unavailable
Story: 2010649
Task: 47661
Signed-off-by: Nidhi Shivashankara Belur <nidhi.shivashankara.belur@intel.com>
Change-Id: I1c6dc946d114a129cd728b8c53b3b00f31fda028
Fixed versioning and adjusted some build files
to bring them as close to a standard as possible.
- Removed centos files
- Added version tracking via GITREVCOUNT
- Fixed mismatch in plugin name, set to python3-k8sapp-<app>
- Standardized plugin debian files (rules, *.install)
- Plugin wheels saved to /plugin instead of /plugin/<app>
Test Plan:
PASS - Build-pkgs -a
PASS - Build-image
PASS - Install, bootstrap, unlock
PASS - app tarball contains wheel file
PASS - wheel versioning updated properly
Story: 2010542
Task: 47191
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: If383233094d6539483c93016264d62da6dc4753f