Skip to content

Commit

Permalink
Update introspect data for r6
Browse files Browse the repository at this point in the history
Increase stratis-cli version and lowest supported stratisd version
as appropriate.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed May 1, 2023
1 parent 44ce7f3 commit 6234e87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/stratis_cli/_actions/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SECTOR_SIZE = 512

MAXIMUM_STRATISD_VERSION = "4.0.0"
MINIMUM_STRATISD_VERSION = "3.5.0"
MINIMUM_STRATISD_VERSION = "3.6.0"
assert Version(MINIMUM_STRATISD_VERSION) < Version(MAXIMUM_STRATISD_VERSION)

REVISION = f"r{MINIMUM_STRATISD_VERSION.split('.')[1]}"
Expand Down
20 changes: 10 additions & 10 deletions src/stratis_cli/_actions/_introspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</method>
</interface>
""",
"org.storage.stratis3.Manager.r5": """
<interface name="org.storage.stratis3.Manager.r5">
"org.storage.stratis3.Manager.r6": """
<interface name="org.storage.stratis3.Manager.r6">
<method name="CreatePool">
<arg name="name" type="s" direction="in" />
<arg name="devices" type="as" direction="in" />
Expand Down Expand Up @@ -70,8 +70,8 @@
</property>
</interface>
""",
"org.storage.stratis3.Report.r5": """
<interface name="org.storage.stratis3.Report.r5">
"org.storage.stratis3.Report.r6": """
<interface name="org.storage.stratis3.Report.r6">
<method name="GetReport">
<arg name="name" type="s" direction="in" />
<arg name="result" type="s" direction="out" />
Expand All @@ -80,8 +80,8 @@
</method>
</interface>
""",
"org.storage.stratis3.blockdev.r5": """
<interface name="org.storage.stratis3.blockdev.r5">
"org.storage.stratis3.blockdev.r6": """
<interface name="org.storage.stratis3.blockdev.r6">
<property name="Devnode" type="s" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
</property>
Expand All @@ -108,8 +108,8 @@
</property>
</interface>
""",
"org.storage.stratis3.filesystem.r5": """
<interface name="org.storage.stratis3.filesystem.r5">
"org.storage.stratis3.filesystem.r6": """
<interface name="org.storage.stratis3.filesystem.r6">
<method name="SetName">
<arg name="name" type="s" direction="in" />
<arg name="result" type="(bs)" direction="out" />
Expand All @@ -133,8 +133,8 @@
</property>
</interface>
""",
"org.storage.stratis3.pool.r5": """
<interface name="org.storage.stratis3.pool.r5">
"org.storage.stratis3.pool.r6": """
<interface name="org.storage.stratis3.pool.r6">
<method name="AddCacheDevs">
<arg name="devices" type="as" direction="in" />
<arg name="results" type="(bao)" direction="out" />
Expand Down
2 changes: 1 addition & 1 deletion src/stratis_cli/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
.. moduleauthor:: mulhern <[email protected]>
"""

__version_info__ = (3, 5, 1)
__version_info__ = (3, 6, 0)
__version__ = ".".join(str(x) for x in __version_info__)

0 comments on commit 6234e87

Please sign in to comment.