csi-powerstore
csi-powerstore copied to clipboard
Changes to support sync replication for Powerstore
Description
- Added changes to enable sync replication and related validations
- Added unit test coverage for sync replication
GitHub Issues
List the GitHub issues impacted by this PR:
GitHub Issue # |
---|
https://github.com/dell/csm/issues/1443 |
Checklist:
- [x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
- [x] I have verified that new and existing unit tests pass locally with my changes
- [x] I have not allowed coverage numbers to degenerate
- [ ] I have maintained at least 90% code coverage
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] Backward compatibility is not broken
How Has This Been Tested?
-
Ran unit tests and the results look good
-
Ran sanity to check Sync replication is working as expected. ensured the following scenarios
- Volumegroup is getting created as expected with the corresponding ProtectionPolicy and rule
- Made sure IsWriteOrderConsitent is set to true will allow the ProtectionPolicy with sync rule to be applied to Volume group
- Replication session is created as expected Details with screenshots are captured and attached as part of 28497