Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

POST nfv/addBridge

Add a bridge.

Since Product Version: 3.1

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

POST

Resource URL

/webacs/api/v4/op/nfv/addBridge

Unmodified

This resource has not been modified since the previous API version.

Request Payload Parameters

Attribute Description

bridges Arrow image Bridge[]

server Arrow image Server

transactionId String

Response Parameters

Attribute Description

deploymentStage String

eventTime String

payload String

statusCode Integer

statusMessage String

transactionId String

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Request Payload

https://localhost/webacs/api/v4/op/nfv/addBridge

<?xml version="1.0" ?>
<bridgeConfiguration>
  <bridges>
    <bridge>
      <name>String value</name>
      <port_list>
        <port>
          <name>String value</name>
        </port>
        <port>
          <name>Another string value</name>
        </port>
      </port_list>
      <stp>true</stp>
    </bridge>
    <bridge>
      <name>Another string value</name>
      <port_list>
        <port>
          <name>String value</name>
        </port>
        <port>
          <name>Another string value</name>
        </port>
      </port_list>
      <stp>false</stp>
    </bridge>
  </bridges>
  <server>
    <ipAddress>String value</ipAddress>
    <port>15</port>
    <protocol>String value</protocol>
  </server>
  <transactionId>String value</transactionId>
</bridgeConfiguration>

Sample JSON Request Payload

https://localhost/webacs/api/v4/op/nfv/addBridge.json

{
  "bridgeConfiguration" : {
    "bridges" : {
      "bridge" : [ {
        "name" : "String value",
        "port_list" : {
          "port" : [ {
            "name" : "String value"
          }, {
            "name" : "Another string value"
          } ]
        },
        "stp" : true
      }, {
        "name" : "Another string value",
        "port_list" : {
          "port" : [ {
            "name" : "String value"
          }, {
            "name" : "Another string value"
          } ]
        },
        "stp" : false
      } ]
    },
    "server" : {
      "ipAddress" : "String value",
      "port" : 15,
      "protocol" : "String value"
    },
    "transactionId" : "String value"
  }
}

Sample XML Response Payload

https://localhost/webacs/api/v4/op/nfv/addBridge

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/nfv/addBridge" rootUrl="https://localhost/webacs/api/v4/op">
  <serviceResponse>
    <deploymentStage>String value</deploymentStage>
    <eventTime>String value</eventTime>
    <payload>String value</payload>
    <statusCode>15</statusCode>
    <statusMessage>String value</statusMessage>
    <transactionId>String value</transactionId>
  </serviceResponse>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v4/op/nfv/addBridge.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v4/op/nfv/addBridge",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v4/op",
    "serviceResponse" : [ {
      "deploymentStage" : "String value",
      "eventTime" : "String value",
      "payload" : "String value",
      "statusCode" : 15,
      "statusMessage" : "String value",
      "transactionId" : "String value"
    } ]
  }
}