Hi Community,
i'm trying to create a new LoadBalancer via REST API.
Everything works fine but i can't see the new and successful created object via WebAdmin UI.
Endpoint: /api/objects/packetfilter/loadbalance/
POST Example
{ "_locked": "", "_type": "packetfilter/loadbalance", "auto_pf_in": "", "auto_pfrule": false, "comment": "", "destination": "REF_NetHosLbtestserv", "destination_nat_group": [ "REF_NetHosLbnode1", "REF_NetHosLbnode2" ], "destination_nat_status": { "REF_NetHosLbnode1": 0, "REF_NetHosLbnode2": 0 }, "destination_nat_status6": { "REF_NetHosLbnode1": 0, "REF_NetHosLbnode2": 0 }, "scheduler": "REF_SchLoa10", "service": "REF_SerTcpLbtestserv", "shutdown_address": false, "shutdown_condition": "", "shutdown_override": "", "status": false }
200 with new REF_PacLoaLbtesToLbtes3
Or just a really simple example:
{ "destination": "REF_NetHosLbtestserv", "destination_nat_group": [ "REF_NetHosLbnode1", "REF_NetHosLbnode2" ], "service": "REF_SerTcpLbtestserv" }
GET /api/objects/packetfilter/loadbalance/REF_PacLoaLbtesToLbtes3
{ "_locked": "", "_ref": "REF_PacLoaLbtesToLbtes3", "_type": "packetfilter/loadbalance", "auto_pf_in": "", "auto_pfrule": false, "comment": "", "destination": "REF_NetHosLbtestserv", "destination_nat_group": [ "REF_NetHosLbnode1", "REF_NetHosLbnode2" ], "destination_nat_status": { "REF_NetHosLbnode1": 0, "REF_NetHosLbnode2": 0 }, "destination_nat_status6": { "REF_NetHosLbnode1": 0, "REF_NetHosLbnode2": 0 }, "name": "LB-TEST-SERVICE to LB-TEST-SERVER (3)", "scheduler": "REF_SchLoa10", "service": "REF_SerTcpLbtestserv", "shutdown_address": false, "shutdown_condition": "", "shutdown_override": "", "status": false }
Looks got, but this new LoadBalancer just doesn't appear.
What im doing wroing?
Thanks for help
Sebastian
This thread was automatically locked due to age.