    # File lib/fog/openstack/requests/compute/create_security_group_rule.rb, line 6
            def create_security_group_rule(parent_group_id, ip_protocol, from_port, to_port, cidr, group_id=nil)
              data = {
                'security_group_rule' => {
                  'parent_group_id' => parent_group_id,
                  'ip_protocol'     => ip_protocol,
                  'from_port'       => from_port,
                  'to_port'         => to_port,
                  'cidr'            => cidr,
                  'group_id'        => group_id
                }
              }

              request(
                :expects  => 200,
                :method   => 'POST',
                :body     => MultiJson.encode(data),
                :path     => 'os-security-group-rules.json'
              )
            end