Cisco Nexus Dashboard · Example Payload

Cisco Nexus Configurestaticroute Example

Data CenterInfrastructureNetwork AutomationNetworkingSDNSwitches

Cisco Nexus Configurestaticroute Example is an example object payload from Cisco Nexus Dashboard, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "configureStaticRoute",
  "method": "POST",
  "path": "/mo/sys/ipv4/inst.json",
  "summary": "Create or Modify Ipv4 Static Routes",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ipv4Inst": {
          "children": [
            {
              "ipv4Dom": {
                "attributes": {
                  "name": "default"
                },
                "children": [
                  {
                    "ipv4Route": {
                      "attributes": {
                        "prefix": "10.0.0.0/8"
                      },
                      "children": [
                        {
                          "ipv4Nexthop": {
                            "attributes": {
                              "nhAddr": "192.168.1.1",
                              "nhIf": "eth1/1",
                              "nhVrf": "default",
                              "pref": "1",
                              "tag": "100"
                            }
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  ],
  "responseExamples": []
}