Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
name: Run Lint Check via Pylint

on: [push]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
workflow_dispatch:
push:
branches:
- main
pull_request:
# Runs CI on every day (at 06:00 UTC)
schedule:
- cron: '0 6 * * *'

jobs:
lint:
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,23 @@ client.fault_set.clear('fba27fae00000001')
# Create volume
from PyPowerFlex.objects.volume import VolumeType
from PyPowerFlex.objects.volume import CompressionMethod
from PyPowerFlex.objects.volume import VolumeClass
client.volume.create(storage_pool_id='76f2b2fd00000000',
size_in_gb=40,
name='new_thin_vol',
volume_type=VolumeType.thin,
use_rmcache=True,
compression_method=CompressionMethod.normal)

# Volume can be created with custom volume class
client.volume.create(storage_pool_id='76f2b2fd00000001',
size_in_gb=40,
name='new_custom_class_volume',
volume_type=VolumeType.thin,
use_rmcache=True,
compression_method=CompressionMethod.normal,
volume_class=VolumeClass.datastore)

# Extend volume size
client.volume.extend(volume_id='4a3a153e00000000',
size_in_gb=48)
Expand Down