Skip to content

Commit

Permalink
Update to version 240.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
infinidat-infradev committed Feb 8, 2024
2 parents a61df89 + 9056116 commit c633673
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 91 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/python-package.yml

This file was deleted.

37 changes: 18 additions & 19 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,26 @@ on:

jobs:
deploy:

runs-on: ubuntu-latest

environment: pypi

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
38 changes: 0 additions & 38 deletions .github/workflows/python-test-publish.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 240.1.2 (Released 2024-02-08)
-------------------------------------
* #16384: Add documentation for snapshot replication when creating async replica

Version 240.1.1 (Released 2024-01-31)
-------------------------------------
* #16462: Add pagination for the new metadata of get all assigned entities
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all:
@exit 2

lint:
pylint --rcfile .pylintrc -j $(shell nproc) infinisdk scripts tests doc/*.doctest_context
pylint --rcfile .pylintrc -j $(shell nproc) infinisdk

check_format:
black --check infinisdk
Expand Down
13 changes: 13 additions & 0 deletions doc/replication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,20 @@ As for the remote entity, it depends on the scenario being used to create the re
* Creating a new entity on the remote side (`_create_target` or default) requires the remote pool to be provided
* Creating over an existing, formatted target (`_existing_target`) requires the remote target to be provided via ``remote_entity`` parameter

To allow for snapshot replication you would use something like the following:

.. code-block:: python
from datetime import timedelta
replica = primary_system.replicas.replicate_entity(vol, link=link, remote_pool=remote_pool,
including_snapshots=True, snapshots_retention=3600,
lock_remote_snapshot_retention=timedelta(seconds=3600),
rpo=timedelta(seconds=4), sync_interval=timedelta(seconds=4))
`lock_remote_snapshot_retention` is an optional parameter. It places a lock on the exposed snapshot
for a duration defined by the parameter's value (number of seconds since the original snapshot was created).
For an explanation about `rpo` and `sync_interval` parameters please see section below on RgReplica.

.. seealso:: :class:`infinisdk.infinibox.replica.Replica`

Expand Down
1 change: 0 additions & 1 deletion infinisdk/infinibox/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ def has_standard_counts(self):
def has_vvol_counts(self):
return self.get_parsed_system_version() >= "7.0" and self.has_vvol()


def has_ethernet_interface_state(self):
return self.get_parsed_system_version() >= "7.3.10"

Expand Down

0 comments on commit c633673

Please sign in to comment.