opentelekomcloud / otc-tools

(Deprecated) Simple bash/curl/jq based command line tool using the OpenStack and OTC specific REST APIs.
Creative Commons Attribution Share Alike 4.0 International
27 stars 17 forks source link

improved creation of internal elb #18

Closed spielkind closed 7 years ago

spielkind commented 7 years ago

Although this should work in theory, I still get an error:

{"error":{"message":"request parameter is not valid","code":"ELB.1001"}}

otc elb create -g test-secgroup --subnet-name test-subnet xxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxx reik-test

{
  "name": "reik-test",
  "description": "LB",
  "vpc_id": "xxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxx",
  "bandwidth": 25,
  "type": "Internal",
  "vip_subnet_id": "xxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxx",
  "az": "eu-de-02",
  "security_group": "xxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxx",
  "admin_state_up": 1
}