'Creates an OpenStack Networking security group rule.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/networking/v2/index.html#create-security-group-rule'

def create_security_group_rule(self, **kwargs):

    uri = '/security-group-rules'
    post_data = {'security_group_rule': kwargs}
    return self.create_resource(uri, post_data)
