This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

New LoadBalancer via Rest API not visible in WebAdmin

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.