Skip to content

Commit

Permalink
[GH-84] Error parsing VNX storage group output.
Browse files Browse the repository at this point in the history
When the HBA uid is too long, the table format of storage group output
is messed up.  There is no space between each column.

Luckly, the format for storage processor is fixed.  We could use it as the
token.  Modify the regular expression to parse the HBA and verify the
parsing of storage group with the messed output.

Bump version to 0.4.4.
  • Loading branch information
Cedric Zhuang committed Jan 17, 2017
1 parent 6901fdf commit 1f2f7d1
Show file tree
Hide file tree
Showing 5 changed files with 477 additions and 406 deletions.
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
* text eol=lf
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -13,7 +13,7 @@ StorOps: The Python Library for VNX & Unity
.. image:: https://landscape.io/github/emc-openstack/storops/master/landscape.svg?style=flat
:target: https://landscape.io/github/emc-openstack/storops/

VERSION: 0.4.3
VERSION: 0.4.4

A minimalist Python library to manage VNX/Unity systems.
This document lies in the source code and go with the release.
Expand Down
2 changes: 1 addition & 1 deletion storops/vnx/parser_configs.yaml
Expand Up @@ -461,7 +461,7 @@ VNXStorageGroupHBA:
data_src: cli
properties:
- label: |
^\s*(\S+)\s+(SP \w)\s+(\d+)\s*$
^\s*(\S+)\s*(SP \w)\s*(\d+)\s*$
is_index: True
is_regex: True
key: hba
Expand Down

0 comments on commit 1f2f7d1

Please sign in to comment.