Versions Compared

Key

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

...

1. If your ONOS is ready, create network-cfg.json file to configure SONA apps.  If you want Neutron L3 services, you'll need GATEWAY type node is optional.

Code Block
{
    "apps" : {
        "org.onosproject.openstackinterface" : {
            "openstackinterface" : {
                 "neutronServer" : "http://10.243.139.46:9696/v2.0/",
                 "keystoneServer" : "http://10.243.139.46:5000/v2.0/",
                 "userName" : "admin",
                 "password" : "nova"
             }
        },
        "org.onosproject.openstacknode" : {
            "openstacknode" : {
                 "nodes" : [
                        {
                                "hostname" : "compute-01",
                                "type" : "COMPUTE",
                                "managementIp" : "10.203.25.244",
                                "dataIp" : "10.134.34.222",
                                "integrationBridge" : "of:00000000000000a1"
                        },
                        {
                                "hostname" : "compute-02",
                                "type" : "COMPUTE",
                                "managementIp" : "10.203.229.42",
                                "dataIp" : "10.134.34.223",
                                "integrationBridge" : "of:00000000000000a2"
                        },
                        {
                                "hostname" : "gateway-01",
                                "type" : "GATEWAY",
                                "managementIp" : "10.203.198.125",
                                "dataIp" : "10.134.33.208",
                                "integrationBridge" : "of:00000000000000a3",
                                "routerBridge" : "of:00000000000000b3"
                        },
                        {
                                "hostname" : "gateway-02",
                                "type" : "GATEWAY",
                                "managementIp" : "10.203.198.131",
                                "dataIp" : "10.134.33.209",
                                "integrationBridge" : "of:00000000000000a4",
                                "routerBridge" : "of:00000000000000b4"
                        }
                  ]
             }
        }
    },
    "devices" : {
        "of:00000000000000a1" : {
            "basic" : {
                "driver" : "sona"
            }
        },
        "of:00000000000000a2" : {
            "basic" : {
                "driver" : "sona"
            }
        },
        "of:00000000000000b3" : {
            "basic" : {
                "driver" : "softrouter"
            }
        },
        "of:00000000000000b4" : {
            "basic" : {
                "driver" : "softrouter"
            }
        }
    }
}

...