On 12/20/2012 06:05 PM, Nik Martin wrote:

Looking at the 3.02 CS API, the createPortForwardingRule command appears to be a not so well implemented hack. The 2x API allowed port forward ranges, and 4.x allows a port forward ranges, but the the 3.02 api looks pretty incomplete. This isn;t a cloudmonkey issue. I also have no idea how to create port forwarding rules for ports 16384-32767 which are required for VOIP to work behind a CS NAT router.



I'm on CS 3.02, trying to create a Port Forwarding rule with a range of
ports using cloudmonkey since the UI doesn't seem to support ranges. I'm
getting an undefined HTTP Error: 537.  Here's the log:

2012-12-20 17:46:57,927 - cloudmonkey.py:201 - [DEBUG] Requesting
command=createPortForwardingRule, args={'protocol': 'UDP',
'virtualmachineid': '34f146fd-ecc7-4fc8-8e4a-78cb9d8db7d0',
'ipaddressid': '98be656a-4043-4015-990c-988a4e083f73', 'privateendport':
'32768', 'publicendport': '32768', 'privateport': '16384', 'publicport':
'16384'}
2012-12-20 17:46:58,193 - cloudstackConnection.py:85 - [CRITICAL] failed
to reach cloud.nfina.net because of
2012-12-20 17:46:58,193 - cloudmonkey.py:210 - [DEBUG] ====END Request====

The CS api is perfectly reachable, I can run a list command before and
after the failed command and they return fine.



--

Regards,

Nik

Nik Martin
nfina Technologies, Inc.
+1.251.243.0043 x1003
http://nfinausa.com
Relentless Reliability

Reply via email to