cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayapal Reddy <jayapalati...@gmail.com>
Subject Re: Increase CIDR list parameter length limit of API when creating VPN customer gateway
Date Wed, 26 Jul 2017 10:29:27 GMT
Hi Daniel,

Currently the api param max length allowed is 255 chars only.

The work around will be try creating createvpncustomergateway cidr param
with less than 255 and then edit the db table 's2s_customer_gateway'.

Thanks,
Jayapal
@Accelerite

On Mon, Jul 24, 2017 at 5:21 PM, <daniel.herrmann@zv.fraunhofer.de> wrote:

> Ah, I forgot to mention in my previous mail:
>
> We’re still on CloudStack 4.5
>
> Regards
> Daniel
>
> Am 24.07.17, 12:34 schrieb "daniel.herrmann@zv.fraunhofer.de" <
> daniel.herrmann@zv.fraunhofer.de>:
>
>     Dear all,
>
>     one of our customer has the requirement to tunnel all traffic from a
> VPC back to his site, even normal Internet traffic. As it is not possible
> to use “0.0.0.0/0” as CIDR (since CloudStack complains that this is
> overlapping with the VPC network, which I do not really understand as
> well), I wrote a small script to exclude a given IP network from 0.0.0.0/0,
> returning a list of networks which cover everything but the VPC network.
>
>     When trying to create this gateway however, I get the following error:
>
>     “Unable to execute API command createvpncustomergateway due to invalid
> value. Value greater than max allowed length 255 for param: peerCidrList"
>
>     The string I need to pass is about 293 characters long. Is it possible
> to increase this limit?
>
>     Thanks and regards
>     Daniel Herrmann
>
>
>     --
>     Daniel Herrmann
>     Network Architect – Fraunhofer Private Cloud
>     CCIE #55056 (Routing and Switching)
>     Cisco CCDP, CCIP; Fluke CCTT
>
>     Mail: daniel.herrmann@zv.fraunhofer.de
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message