2 Commits

Author SHA1 Message Date
Reed, Joshua
04597187d1 Update app Zuul Check Jobs.
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>
2023-12-15 07:02:03 -07:00
Nidhi Shivashankara Belur
47dd349f61 sriov-fec-operator system app integration
Initial integration of sriov-fec-operator application.
- This change includes python k8s-app plugins for fluxcd integration.
- Added docker images build script for operator.
- Updated License headers.

Test Status:
- PASS: Build application rpm, 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 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: Switch between classic method and operator method validated.
- PASS: Reboot test with operator method validated.
- PASS: Shellcheck tool test.
- TBD: N3000 testing.

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: 2009749
Task: 44657

Change-Id: I1eee9e48a10e86be32e59bb83852c7bc179f0b44
Signed-off-by: Nidhi Shivashankara Belur <nidhi.shivashankara.belur@intel.com>
2022-09-08 10:31:57 -07:00