Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/onstor collects diskshare informations #953

Conversation

kula1922
Copy link

@kula1922 kula1922 commented Jul 7, 2014

  • Onstor plugin collects diskshare informations

@@ -13,6 +13,7 @@
from ralph.scan.plugins import get_base_result_template
from ralph.util import parse
from ralph.util.network import connect_ssh, check_tcp_port
from ralph.discovery.models import DiskShare
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append this import to line 11.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling e119fbd on kula1922:feature/onstor-collects-diskshare-informations into 85a9563 on allegro:develop.

}
)
return disk_shares

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about some basic unit tests for those 3 functions above..?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) when pulling 9b04c0a on kula1922:feature/onstor-collects-diskshare-informations into 85a9563 on allegro:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) when pulling 9b04c0a on kula1922:feature/onstor-collects-diskshare-informations into 85a9563 on allegro:develop.

@vi4m
Copy link
Contributor

vi4m commented Jul 8, 2014

Update CHANGELOG txt

@quamilek quamilek closed this Jul 9, 2014
@quamilek quamilek reopened this Jul 9, 2014
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) when pulling 9b04c0a on kula1922:feature/onstor-collects-diskshare-informations into 85a9563 on allegro:develop.

finally:
ssh.close()
return device_info


def scan_address(ip_address, **kwargs):
if kwargs.get('http_family') not in ('sscccc',):
if kwargs.get('http_family') not in ('sscccc'):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather leave this comma here (previously it was a tuple, now it's just a string). Consider this:

'a' in ('aaa',)
False

'a' in ('aaa')
True

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) when pulling 8eaa0d3 on kula1922:feature/onstor-collects-diskshare-informations into 85a9563 on allegro:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) when pulling 7fb6cf0 on kula1922:feature/onstor-collects-diskshare-informations into 7051718 on allegro:develop.

xor-xor added a commit that referenced this pull request Jul 9, 2014
…re-informations

Feature/onstor collects diskshare informations
@xor-xor xor-xor merged commit d647027 into allegro:develop Jul 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants