OSPFv2 Settings   /rest/apv/routing/dynamic/OSPFv2Setting
  • Relational-instance Queries:
  • GET
    /rest/apv/routing/dynamic/OSPFv2Setting/network
    Query the OSPFv2 Network Entries info of the corresponding OSPFv2 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
    {
        "OSPFv2Setting": {
            "instance_id":<instance_id>,
            "network":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • POST
    /rest/apv/routing/dynamic/OSPFv2Setting/network
    Create a OSPFv2 Network Entry for corresponding OSPFv2 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
    ip ip4addr
    mask string
    area_id uint32
    Response format
            {
                "OSPFv2NetworkEntry": {
                    "instance_id":<instance_id>,
                    <param1>:<value1>,
                    <param2>:<value2>,
                    ...
                }
            }
                                        
    Response parameters
    Same as request parameters.
    Examples
  • DELETE
    /rest/apv/routing/dynamic/OSPFv2Setting/network/<ospfv2networkentry_id>
    Delete a specific OSPFv2 Network Entry of corresponding ospfv2setting
    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/routing/dynamic/OSPFv2Setting/route_table
    Query the OSPFv2 Route Table info of the corresponding OSPFv2 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
    {
        "OSPFv2Setting": {
            "instance_id":<instance_id>,
            "route_table":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples