Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
>sudo docker pull jamesdbloom/mockserver
>sudo docker run --name mockserver -d -p 1080:1080 jamesdbloom/mockserver


Step 3. Use Postman to register SDN WAN controller for underlay network (you can do this in Portal ESR app too)

Step 4. Use Postman to register DC1 and DC2 SDN controller

Step 5. Use Postman to create PE1 and PE2 in A&AI

Code Block
titlePE1
collapsetrue
https://{{aai}}:8443/aai/v11/network/pnfs/pnf/2ef788f0-407c-3070-b756-3a5cd71fde18
body:
<?xml version="1.0" encoding="UTF-8"?>
<pnf xmlns="http://org.openecomp.aai.inventory/v11">
<pnf-name>2ef788f0-407c-3070-b756-3a5cd71fde18</pnf-name>
<pnf-name2>pe1_id</pnf-name2>
<pnf-name2-source>NE40E-01</pnf-name2-source> 
<pnf-id>2ef788f0-407c-3070-b756-3a5cd71fde18</pnf-id> 
<equip-type>NE40E-X3A</equip-type> 
<equip-vendor>HUAWEI</equip-vendor>
<equip-model>example-equip-model-val-44828</equip-model>
<management-option>example-management-option-val-84964</management-option>
<ipaddress-v4-oam>10.1.1.101</ipaddress-v4-oam> 
<sw-version>V800R009C10SPC200</sw-version> 
<in-maint>true</in-maint>
<frame-id>example-frame-id-val-21069</frame-id>
<serial-number>2102350FMLN0G9000019</serial-number> 
<ipaddress-v4-loopback-0>example-ipaddress-v4-loopback0-val-57218</ipaddress-v4-loopback-0>
<ipaddress-v6-loopback-0>example-ipaddress-v6-loopback0-val-64041</ipaddress-v6-loopback-0>
<ipaddress-v4-aim>example-ipaddress-v4-aim-val-89025</ipaddress-v4-aim>
<ipaddress-v6-aim>example-ipaddress-v6-aim-val-89025</ipaddress-v6-aim>
<ipaddress-v6-oam>example-ipaddress-v6-oam-val-82953</ipaddress-v6-oam>
<inv-status>example-inv-status-val-1920</inv-status>
<prov-status>example-prov-status-val-35250</prov-status>
<nf-role>example-nf-role-val-75080</nf-role>
</pnf>
Code Block
titlePE2
collapsetrue
URL: https://{{aai}}:8443/aai/v11/network/pnfs/pnf/4412d3f0-c296-314d-9284-b72fc5d485e8
Headers:
Authorization:Basic QUFJOkFBSQ==
X-TransactionId:9999
X-FromAppId:jimmy-postman
Accept:application/json
Content-Type:application/xml


Body:
<?xml version="1.0" encoding="UTF-8"?>
<pnf xmlns="http://org.openecomp.aai.inventory/v11"> 
<pnf-name>4412d3f0-c296-314d-9284-b72fc5d485e8</pnf-name> 
<pnf-name2>pe2_id</pnf-name2> 
<pnf-name2-source>NE40E-02</pnf-name2-source> 
<pnf-id>a8098c1a-f86e-11da-bd1a-00112444be1e</pnf-id> 
<equip-type>NE40E-X3A</equip-type> 
<equip-vendor>HUAWEI</equip-vendor> 
<equip-model>example-equip-model-val-44828</equip-model> 
<management-option>example-management-option-val-84964</management-option> 
<ipaddress-v4-oam>10.1.1.102</ipaddress-v4-oam> 
<sw-version>V800R009C10SPC200</sw-version> 
<in-maint>true</in-maint> 
<frame-id>example-frame-id-val-21069</frame-id> 
<serial-number>2102350FMLN0G9000021</serial-number> 
<ipaddress-v4-loopback-0>example-ipaddress-v4-loopback0-val-57218</ipaddress-v4-loopback-0> 
<ipaddress-v6-loopback-0>example-ipaddress-v6-loopback0-val-64041</ipaddress-v6-loopback-0> 
<ipaddress-v4-aim>192.168.1.1</ipaddress-v4-aim> 
<ipaddress-v6-aim>example-ipaddress-v6-aim-val-89025</ipaddress-v6-aim> 
<ipaddress-v6-oam>example-ipaddress-v6-oam-val-82953</ipaddress-v6-oam> 
<inv-status>example-inv-status-val-1920</inv-status> 
<prov-status>example-prov-status-val-35250</prov-status> 
<nf-role>example-nf-role-val-75080</nf-role> 
</pnf>


Step 3. Use Postman to register SDN WAN controller for underlay network (you can do this in Portal ESR app too)

Code Block
titleWAN SDN Controller
collapsetrue
https://{{aai}}:8443/aai/v11/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/IP-WAN-Controller-1

<?xml version="1.0" encoding="UTF-8"?> 
<esr-thirdparty-sdnc xmlns="http://org.openecomp.aai.inventory/v11"> 
  <thirdparty-sdnc-id>IP-WAN-Controller-1</thirdparty-sdnc-id> 
  <location>Core</location> 
  <product-name>AC-WAN</product-name> 
  <esr-system-info-list> 
    <esr-system-info> 
      <esr-system-info-id>IP-WAN-Controller-ESR-1</esr-system-info-id> 
      <system-name>IP-WAN-Controller</system-name> 
      <type>WAN</type> 
      <vendor>HUAWEI</vendor> 
      <version>Agile Controller-WAN V300R002C10SPC015T</version> 
      <service-url>http://10.0.10.1:1080</service-url> 
      <user-name>zmb@huawei.com</user-name> 
      <password>Huawei12#$</password> 
      <system-type>example-system-type-val-12078</system-type> 
      <protocol>RESTCONF</protocol> 
      <ssl-cacert>example-ssl-cacert-val-20589</ssl-cacert> 
      <ssl-insecure>true</ssl-insecure> 
      <ip-address>10.0.10.1</ip-address> 
      <port>1080</port> 
      <cloud-domain>example-cloud-domain-val-76077</cloud-domain> 
      <default-tenant>example-default-tenant-val-71148</default-tenant> 
      <passive>true</passive> 
      <remote-path>example-remotepath-val-5833</remote-path> 
      <system-status>example-system-status-val-23435</system-status> 
    </esr-system-info> 
  </esr-system-info-list> 
  <relationship-list> 
    <relationship> 
      <related-to>pnf</related-to> 
      <relationship-data> 
        <relationship-key>pnf.pnf-name</relationship-key> 
        <relationship-value>2ef788f0-407c-3070-b756-3a5cd71fde18</relationship-value> 
      </relationship-data> 
    </relationship> 
    <relationship> 
      <related-to>pnf</related-to> 
      <relationship-data> 
        <relationship-key>pnf.pnf-name</relationship-key> 
        <relationship-value>4412d3f0-c296-314d-9284-b72fc5d485e8</relationship-value> 
      </relationship-data> 
    </relationship> 
  </relationship-list> 
</esr-thirdparty-sdnc>


Step 4. Use Postman to register DC1 and DC2 SDN controller


Step 6. Use Postman to create data center network 1,2,3,4 for overlay

...