getcontrollers.xml 1.76 KB
<!--
  ~ Copyright 2016-present Open Networking Laboratory
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <volt-ne xmlns="http://fujitsu.com/ns/volt/1.1">
      <volt-ofconfig>
        <of-controllers>
          <of-controller>
            <ofconfig-id>1</ofconfig-id>
            <controller-info>
              <id>1</id>
              <ip-address>172.10.10.45</ip-address>
              <port>6633</port>
              <protocol>tcp</protocol>
            </controller-info>
            <state>
              <connection-state>up</connection-state>
              <local-port-in-use>12345</local-port-in-use>
            </state>
          </of-controller>
          <of-controller>
            <ofconfig-id>2</ofconfig-id>
            <controller-info>
              <id>2</id>
              <ip-address>100.0.0.22</ip-address>
              <port>5555</port>
              <protocol>tcp</protocol>
            </controller-info>
            <state>
              <connection-state>up</connection-state>
              <local-port-in-use>12345</local-port-in-use>
            </state>
          </of-controller>
        </of-controllers>
      </volt-ofconfig>
    </volt-ne>
  </data>
</rpc-reply>