Update the example network-cfg.json for openstacknetworking and node
Change-Id: I681575a341da260d5be6ba58a4ec9730e88ab68b
diff --git a/apps/openstacknetworking/network-cfg.json b/apps/openstacknetworking/network-cfg.json
index 556de59..703d0e9 100644
--- a/apps/openstacknetworking/network-cfg.json
+++ b/apps/openstacknetworking/network-cfg.json
@@ -1,51 +1,84 @@
{
- "apps" : {
- "org.onosproject.openstacknode" : {
- "openstacknode" : {
- "nodes" : [
- {
- "hostname" : "compute-01",
- "type" : "COMPUTE",
- "managementIp" : "172.16.130.4",
- "vlanPort" : "eth2",
- "dataIp" : "172.16.130.4",
- "integrationBridge" : "of:00000000000000a1"
- },
- {
- "hostname" : "compute-02",
- "type" : "COMPUTE",
- "managementIp" : "172.16.130.6",
- "vlanPort" : "eth2",
- "dataIp" : "172.16.130.6",
- "integrationBridge" : "of:00000000000000a2"
- },
- {
- "hostname" : "gateway-01",
- "type" : "GATEWAY",
- "managementIp" : "172.16.130.3",
- "dataIp" : "172.16.130.3",
- "vlanPort" : "eth2",
- "integrationBridge" : "of:00000000000000a3",
- "routerBridge" : "of:00000000000000b1",
- "uplinkPort" : "quagga-router",
- "routerController" : "172.17.0.2"
+ "apps" : {
+ "org.onosproject.openstacknode" : {
+ "openstacknode" : {
+ "nodes" : [
+ {
+ "hostname" : "compute-01",
+ "type" : "COMPUTE",
+ "managementIp" : "172.16.130.4",
+ "dataIp" : "172.16.130.4",
+ "vlanPort" : "eth2",
+ "integrationBridge" : "of:00000000000000a1",
+ "phyIntfs": [
+ {
+ "network": "mgmtnetwork",
+ "intf": "eth3"
+ },
+ {
+ "network": "oamnetwork",
+ "intf": "eth4"
+ }
+ ]
+ },
+ {
+ "hostname" : "compute-02",
+ "type" : "COMPUTE",
+ "managementIp" : "172.16.130.6",
+ "dataIp" : "172.16.130.6",
+ "vlanPort" : "eth2",
+ "integrationBridge" : "of:00000000000000a2",
+ "phyIntfs": [
+ {
+ "network": "mgmtnetwork",
+ "intf": "eth3"
+ },
+ {
+ "network": "oamnetwork",
+ "intf": "eth4"
+ }
+ ]
+ },
+ {
+ "hostname" : "controller",
+ "type" : "CONTROLLER",
+ "managementIp" : "172.16.130.10",
+ "endPoint" : "keystone-endpoint-url",
+ "authentication" : {
+ "version" : "v2.0",
+ "port" : 35357,
+ "protocol" : "HTTP",
+ "project" : "admin",
+ "username" : "admin",
+ "password" : "nova",
+ "perspective" : "PUBLIC"
+ }
+ },
+ {
+ "hostname" : "gateway-01",
+ "type" : "GATEWAY",
+ "managementIp" : "172.16.130.8",
+ "dataIp" : "172.16.130.7",
+ "vlanPort" : "eth2",
+ "integrationBridge" : "of:00000000000000a3",
+ "uplinkPort" : "ens6"
- }
- ]
- }
- }
- },
- "devices" : {
- "of:00000000000000a1" : {
- "basic" : {
- "driver" : "sona"
- }
- },
- "of:00000000000000a2" : {
- "basic" : {
- "driver" : "sona"
- }
- }
+ }
+ ]
+ }
}
+ },
+ "devices" : {
+ "of:00000000000000a1" : {
+ "basic" : {
+ "driver" : "sona"
+ }
+ },
+ "of:00000000000000a2" : {
+ "basic" : {
+ "driver" : "sona"
+ }
+ }
+ }
}