Commit Graph

14 Commits (9f03302b68b4038fa664230dcbb66920325dbd1f)

Author SHA1 Message Date
Monty Taylor 9f03302b68 Use int in the parameter list instead of casting 11 years ago
dagnello 2e8daa2330 Resolving issues in rule comparison algorithm
Port range min/max values are at times represented as string and
compared to int equivalents.  This fix explicitly ensures all
port range values are ints for proper comparisons.
11 years ago
David Shrewsbury f027e75976 Compare ports as strings
Ports as returned from shade are ints. They are strings as they come
in to the module.
11 years ago
David Shrewsbury 9d0c8b0507 Fix syntax error 11 years ago
Monty Taylor 0e5942d7e7 Return rule object 11 years ago
David Shrewsbury 16b3b72294 Update secgroup rules module for latest shade
This allows the rules module to work against either nova or neutron
for handling security groups. New parameters for 'direction' and
'ethertype' are added.

Check mode is supported with this version.
11 years ago
David Shrewsbury 5b6c6cac20 Recongnize None and -1 port equivalency
shade 0.7.0 represents disabled min/max ports as None (in the
neutron style) rather than -1. Recognize this as the same as -1.
11 years ago
David Shrewsbury 5758b4ebdc Fix id value reference 11 years ago
David Shrewsbury 8f2e70a1c1 Update rules mode for latest shade
Shade 0.7.0 normalized the security group data that is returned,
when using nova, to look more like neutron security group data.
This adjusts for that change.
11 years ago
dagnello b98e6663e8 Minor fixes for os_security_group_rule module
Was not able to use this module as it was.  The changes submitted
resolved the issues I ran into in order to get it working.
11 years ago
dagnello d35df1f217 Minor fixes for os_security_group_rule module
Was not able to use this module as it was.  The changes submitted
resolved the issues I ran into in order to get it working.
11 years ago
Davide Guerri a9301ba918 Fix invalid syntax in openstack_module_kwargs call 11 years ago
Monty Taylor 08b4bb42c4 Fix example code syntax 11 years ago
Monty Taylor 08b2f31915 Add OpenStack Security Group Rule module 11 years ago