HA General Settings   /rest/apv/ha/units/HAGenetalSettings
  • Relational-instance Queries:
  • GET
    /rest/apv/ha/units/HAGenetalSettings/floatmac_list
    Query the HA Floating MAC List info of the corresponding HA General Settings.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "HAGenetalSettings": {
            "instance_id":<instance_id>,
            "floatmac_list":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • POST
    /rest/apv/ha/units/HAGenetalSettings/floatmac_list
    Create a HA Floating MAC Entry for corresponding HA General Settings
    Normal response codes
    200(successfully created)
    Error response codes
    401(unauthorized), 403(access forbidden), 500(internal service error), 501(unimplemented)
    Request format
            {
                <param1>:<value1>,
                <param2>:<value2>,
                ...
            }
                                        
    Request parameters
    Parameter Type Description
    mac string
    Response format
            {
                "HAFloatMacEntry": {
                    "instance_id":<instance_id>,
                    <param1>:<value1>,
                    <param2>:<value2>,
                    ...
                }
            }
                                        
    Response parameters
    Same as request parameters.
    Examples
  • DELETE
    /rest/apv/ha/units/HAGenetalSettings/floatmac_list/<hafloatmacentry_id>
    Delete a specific HA Floating MAC Entry of corresponding hagenetalsettings
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Response format
            {
                "msg": <success-or-error-msg>
            }
                                        
    Examples
  • GET
    /rest/apv/ha/units/HAGenetalSettings/vs_enable_list
    Query the Virtual Services with SSF Enabled info of the corresponding HA General Settings.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "HAGenetalSettings": {
            "instance_id":<instance_id>,
            "vs_enable_list":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples