Added resources/ folder to track all the associated scripts and config files. 49/3549/1
authorMadhu Venugopal <mavenugo@gmail.com>
Sat, 7 Dec 2013 13:57:01 +0000 (05:57 -0800)
committerMadhu Venugopal <mavenugo@gmail.com>
Sat, 7 Dec 2013 13:57:01 +0000 (05:57 -0800)
Currently it is sub-divided into 2 directories : openstack and commons.
commons/ contains all the common script/config files such as POSTMAN scripts.
openstack/ contains all the openstack/devstack related config and scripts.
Each of these directories contain README.

We can expand this resources/ directory with more scripts as we see fit.

Change-Id: I86e7f82bfe0916b29fc069d62fb99a4a265156d8
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
resources/README [new file with mode: 0644]
resources/commons/Mininet_Demo_OVSDB_OF.json.postman_collection [new file with mode: 0644]
resources/commons/OVSDB_Northbound_APIs.json.postman_collection [new file with mode: 0644]
resources/commons/README [new file with mode: 0644]
resources/openstack/DevStack.json.postman_collection [new file with mode: 0644]
resources/openstack/README [new file with mode: 0644]
resources/openstack/local.conf.compute [new file with mode: 0644]
resources/openstack/local.conf.controller [new file with mode: 0644]
resources/openstack/odl_os_ovs.sh [new file with mode: 0755]

diff --git a/resources/README b/resources/README
new file mode 100644 (file)
index 0000000..93db5e6
--- /dev/null
@@ -0,0 +1,6 @@
+
+The resources/ directory contains all the associated scripts and configuration files that can be used by 
+developers and administrators under various use-cases.
+
+It is subdivided into multiple directories addressing each of the deployment scenarios.
+Each of these sub-directories contains its own README.
diff --git a/resources/commons/Mininet_Demo_OVSDB_OF.json.postman_collection b/resources/commons/Mininet_Demo_OVSDB_OF.json.postman_collection
new file mode 100644 (file)
index 0000000..d8de5e4
--- /dev/null
@@ -0,0 +1 @@
+{"id":"434c1a79-a99d-2159-7559-95cb9dce794e","name":"Mininet Demo : OVSDB + OF","description":"This POSTMAN script was used for the Mininet demonstration : http://www.youtube.com/watch?v=8iWhMVlflwE","order":["60dc9930-7948-b34e-ecfe-7ab7130f6037","da8d3367-47f7-8217-57cf-bc921ebda497","9143419b-af64-4647-905c-831461ead25d","ed66771a-dc23-a958-440f-0bc3792ecf1c","462c7d0a-e885-8a21-7a0e-ea4f6086d621","f1f89972-61f9-e39c-f572-d6470d201b0e","61ae4830-c124-84f0-92f2-05b46809cfb1","bb05ca74-5c47-ca39-e058-9a5b900db749","3c4fd25b-6c2c-0dcf-695f-c27a0d78632b","6dec1ff1-4bae-0566-70ec-ed17ae3905f3","360de20d-5b76-2b34-e436-4199ccb3b0fb","e84507bc-e7f0-efce-02d1-74ea28fb32de","54ccad58-669b-9889-c6ed-af328c59c947","4a332eca-b7b7-6d7a-8029-33d7da714698"],"folders":[],"timestamp":1383819127794,"synced":false,"requests":[{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"360de20d-5b76-2b34-e436-4199ccb3b0fb","name":"Delete s1-eth2","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/s1/s1-eth2","method":"DELETE","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"3c4fd25b-6c2c-0dcf-695f-c27a0d78632b","name":"Add a port - br2-veth1 (with patch to br1-veth1) to br2","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/br2/br2-veth1","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"br1-veth1\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"462c7d0a-e885-8a21-7a0e-ea4f6086d621","name":"Create a Bridge : br1","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/bridge/OVS/HOST1/br1","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"4a332eca-b7b7-6d7a-8029-33d7da714698","name":"s2-eth3 -> br2-eth3","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/s2/s2-veth3","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"br2-veth3\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"54ccad58-669b-9889-c6ed-af328c59c947","name":"Delete s2-eth2","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/s2/s2-eth2","method":"DELETE","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"60dc9930-7948-b34e-ecfe-7ab7130f6037","name":"Delete Bridge br1","description":"Delete Bridge br1","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/bridge/OVS/HOST1/br1","method":"DELETE","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"61ae4830-c124-84f0-92f2-05b46809cfb1","name":"Add a port - br1-veth1 (with patch to br2-veth1) to br1","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/br1/br1-veth1","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"br2-veth1\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"6dec1ff1-4bae-0566-70ec-ed17ae3905f3","name":"br2-eth3 -> s2-eth3","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/br2/br2-veth3","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"s2-veth3\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"9143419b-af64-4647-905c-831461ead25d","name":"Connect to the OVSDB-SERVER","description":"Connect to the OVSDB-SERVER","url":"http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/192.168.56.101/port/6640/","method":"PUT","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\n","data":[],"dataMode":"params","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"bb05ca74-5c47-ca39-e058-9a5b900db749","name":"br1-eth3 -> s1-eth3","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/br1/br1-veth3","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"s1-veth3\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"da8d3367-47f7-8217-57cf-bc921ebda497","name":"Delete Bridge br2","description":"Delete Bridge br2","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/bridge/OVS/HOST1/br2","method":"DELETE","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"e84507bc-e7f0-efce-02d1-74ea28fb32de","name":"s1-eth3 -> br1-eth3","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/port/OVS/HOST1/s1/s1-veth3","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"br1-veth3\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"ed66771a-dc23-a958-440f-0bc3792ecf1c","name":"Get all existing connections","description":"","url":"http://localhost:8080/controller/nb/v2/connectionmanager/nodes","method":"GET","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{\"type\":\"patch\", \"CUSTOM\":{\"peer\":\"br1-veth1\"}}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"434c1a79-a99d-2159-7559-95cb9dce794e","id":"f1f89972-61f9-e39c-f572-d6470d201b0e","name":"Create another bridge : br2","description":"","url":"http://localhost:8080/controller/nb/v2/networkconfig/bridgedomain/bridge/OVS/HOST1/br2","method":"POST","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"{}","dataMode":"raw","timestamp":0,"responses":[],"version":2,"synced":false}]}
\ No newline at end of file
diff --git a/resources/commons/OVSDB_Northbound_APIs.json.postman_collection b/resources/commons/OVSDB_Northbound_APIs.json.postman_collection
new file mode 100644 (file)
index 0000000..99e48b5
--- /dev/null
@@ -0,0 +1 @@
+{"id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","name":"OVSDB Northbound APIs","description":"Northbound APIs exposed by ovsdb.northbound bundle","order":["98fc409e-3eb4-3178-53ab-2a4cb5370b92","4c50625e-689d-1016-3daa-f927b3d5b4cc","b8d189c1-ddea-6841-af5f-c879d83d582e"],"folders":[{"id":"dc6a7dfc-a41d-a794-1526-74bed794f7f2","name":"01 BRIDGE","description":"","order":["faeecd3b-d030-0acf-506b-6ba72d6906bc","03067c98-3677-dedb-a707-b16aad2483d2","3745c365-bb16-cbd6-9f31-83e2412e94ec","84761df7-188e-ac7f-57ab-a6bc90759673","ab3c818e-526c-1938-e5d4-64136c00aa64"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"ec3305c5-9797-d2d4-89d8-2b2d0f561507","name":"02 PORT","description":"","order":["d1013fcb-7da8-0673-eadd-c63e9b71acba","2c4cebfe-4d47-d705-b489-706bbafae618","94173b9e-1541-3d46-4e3c-31d6400dadd3","bea94160-60b8-a9d1-25de-af6502d5c7dd"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"93b55739-6b91-0cfa-ac46-daed36dd461d","name":"03 INTERFACE","description":"","order":["b8e56ff8-04d7-bf8f-fb3d-5cfe13b3834e","c3c36bc0-e6a5-5007-2049-854e89e0093a","ee02ff5b-f217-024f-e8bf-347b0af9b73c"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"dc870c55-7106-40b7-9719-8bfd2d8df5b4","name":"04 CONTROLLER","description":"","order":["01b5cdf4-e418-a68c-b4d2-f317dd4965e8","8ba0d3a3-1a3f-1722-513b-02d4546011c9","ac6e529f-6f5a-39d9-ce35-849fe361500d"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"e6d7ea89-519b-5b5e-2e25-d87f587576c9","name":"05 SSL","description":"","order":["f745d42a-715a-fc49-3c72-e391c7faa15b","d637a11a-f0e8-c571-864f-7853abc1605e","4ad4a7d7-3f94-8d95-7857-483891406392"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"527586cb-fd16-c451-e358-bbb77161d743","name":"06 sFlow","description":"","order":["40bd9df2-6510-0680-dd27-2c26cf9d4c46","53f1924f-8547-391b-39bb-e4cc3c2e9fde","1dfe0e27-009b-0624-61aa-24d934c75e5e"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"8502a41e-5050-6864-4a26-49f87ff6ea3f","name":"07 Qos","description":"","order":["e54bf72a-61c9-c569-b84c-db8b300fe976","f2312567-3c45-74d0-c39f-0a10f9b3f5e1","d1cf2cea-4f08-9d55-6d07-5662a3d93bb6","64ac8934-f2ee-2d11-145a-83216e08094f"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"8108a7d0-5b0a-8124-ade2-467eb03f9efd","name":"08 Queue","description":"","order":["bc7a068f-dcd2-198d-f526-d836472399e3","3ec045e4-7d39-50c9-61c6-e4912d344f86","6e39c0b9-1339-4d56-93ba-cbd353024824","606993e2-7b60-1313-4861-d1b4df4154ce"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"f653f0a6-0b23-6c12-6c8d-8bce3c6bbeb2","name":"09 NetFlow","description":"","order":["404038b8-f70a-da77-0599-e2ea6fc61f99","38d6c950-a37b-ccec-7b55-ee21ca12709e","f3421bad-6229-a5d1-6cbe-ec41de4900b5"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"},{"id":"304dbfd5-2c7d-096a-2d6f-bb4ddfdbe5b3","name":"10 Manager","description":"","order":["38a839b9-af22-59fd-1730-7fd4eff25a7f","98fc409e-3eb4-3178-53ab-2a4cb5370b92","6d173b2a-5933-44e8-173f-f00742278b7a"],"collection_name":"OVSDB Northbound APIs","collection_id":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770"}],"timestamp":1384305639019,"synced":false,"requests":[{"id":"01b5cdf4-e418-a68c-b4d2-f317dd4965e8","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/controller/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384898533812,"name":"GET all controller rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","id":"03067c98-3677-dedb-a707-b16aad2483d2","name":"GET a bridge row given a UUID","description":"Please note that the UUID used here must be one of the existing UUID of a Row in Bridge Table","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/bridge/rows/45677cc9-bed2-4def-9986-b05a9b59f1f4","method":"GET","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1384465185771,"synced":false},{"id":"1dfe0e27-009b-0624-61aa-24d934c75e5e","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/sflow/rows/","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1385832734561,"name":"DELETE an sFlow row given a UUID","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"2c4cebfe-4d47-d705-b489-706bbafae618","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/port/rows","pathVariables":{},"method":"POST","data":"{\n  \"parent_uuid\":\"6b3072ba-a120-4db9-82f8-a8ce4eae6942\",\n    \"row\":{\n      \"Port\":{\n        \"name\":\"krb1\",\n        \"mac\":[\"00:00:00:00:00:01\"],\n        \"tag\":[200]\n      }\n    }\n}","dataMode":"raw","version":2,"time":1386198885371,"name":"Create a Port and add it to a Bridge","description":"Please note that the parent_uuid of this HTTP Data is the UUID of the Bridge that was created in the previous step.\n\nWatch out for the return value which is the UUID of the port that was just created. This UUID must be used as the parent_uuid for the interface addition. Also look out for the HTTP headers that is returned and it has a location field that can be used for both DELETE and UPDATE operations later.\n","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"3745c365-bb16-cbd6-9f31-83e2412e94ec","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/bridge/rows","data":"{\n    \"row\":{\n      \"Bridge\":{\n        \"name\":\"br26-2\",\n        \"datapath_type\":\"OPENFLOW\"\n      }\n    }\n}","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"POST","version":2,"time":1385493765905,"name":"Create a Bridge","description":"Watch out for the return value which is the UUID of the bridge that was just created.\nThis UUID must be used as the parent_uuid for the port addition.\n\nAlso look out for the HTTP headers that is returned and it has a location field that can be used for both DELETE and UPDATE operations later.","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"38a839b9-af22-59fd-1730-7fd4eff25a7f","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/manager/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384920805653,"name":"GET all manager rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"38d6c950-a37b-ccec-7b55-ee21ca12709e","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/netflow/rows","pathVariables":{},"method":"POST","data":"{\n  \"parent_uuid\":\"6b3072ba-a120-4db9-82f8-a8ce4eae6942\",\n  \"row\" : {\n  \t\"NetFlow\":{\n      \"targets\" : [\"192.168.1.102:9998\"],\n      \"active_timeout\" : \"0\"\n    \t}\n\t}\t\n}","dataMode":"raw","version":2,"time":1386202743214,"name":"INSERT a NetFlow row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"3ec045e4-7d39-50c9-61c6-e4912d344f86","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/queue/rows","pathVariables":{},"method":"POST","data":"{\n  \"parent_uuid\" : \"ab2b6f2d-5cb4-4dcf-ac1b-c989ae3d76ce\",\n  \"row\" : { \"Queue\": { \"dscp\" : [\"25\"]     }}\n}\n","dataMode":"raw","version":2,"time":1386290517370,"name":"INSERT a Queue row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"404038b8-f70a-da77-0599-e2ea6fc61f99","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/netflow/rows","pathVariables":{},"method":"GET","data":[],"dataMode":"params","version":2,"time":1385853862100,"name":"GET all NetFlow rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"40bd9df2-6510-0680-dd27-2c26cf9d4c46","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/sflow/rows","pathVariables":{},"method":"GET","data":[],"dataMode":"params","version":2,"time":1385832695823,"name":"GET all sFlow rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"4ad4a7d7-3f94-8d95-7857-483891406392","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/SSL/rows/6c2a532c-96df-49ce-8f3f-f83c39e47122","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1385766788123,"name":"DELETE an SSL row given a UUID","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"4c50625e-689d-1016-3daa-f927b3d5b4cc","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/open_vswitch/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384895597912,"name":"GET all open_vswitch rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"53f1924f-8547-391b-39bb-e4cc3c2e9fde","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/sflow/rows","pathVariables":{},"method":"POST","data":"{\n  \"parent_uuid\":\"6b3072ba-a120-4db9-82f8-a8ce4eae6942\",\n  \"row\" : {\n  \t\"sFlow\":{\n      \"agent\": [\"agent_string\"],\n      \"targets\" : [\"targets_string\"]\n    \t}\n\t}\t\n}","dataMode":"raw","version":2,"time":1386294952966,"name":"INSERT an sFlow row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"606993e2-7b60-1313-4861-d1b4df4154ce","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/qos/rows/ab2b6f2d-5cb4-4dcf-ac1b-c989ae3d76ce","pathVariables":{},"method":"PUT","data":"{\n    \"row\":{\n      \"QoS\":{\n        \"queues\": {\n          \"1\" : { \"val\": \"0fbe6ced-16cf-4a39-8a79-e7c8c31f63a9\"}\n        }\n      }\n    }\n}","dataMode":"raw","version":2,"time":1386287453591,"name":"UPDATE a queue in QOS","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"64ac8934-f2ee-2d11-145a-83216e08094f","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/qos/rows/ab2b6f2d-5cb4-4dcf-ac1b-c989ae3d76ce","pathVariables":{},"method":"PUT","data":"{\n    \"row\":{\n      \"QoS\":{\n        \"Queues\": {\n          \"queue_value\" : \"5afa70b6-7c74-4972-9d98-874e6307807d\"\n        }\n      }\n    }\n}","dataMode":"raw","version":2,"time":1386212074539,"name":"UPDATE a QoS row ","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"6d173b2a-5933-44e8-173f-f00742278b7a","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/manager/rows/","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1385866190653,"name":"DELETE a Manager row given UUID","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"6e39c0b9-1339-4d56-93ba-cbd353024824","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/queue/rows/cd1d39f2-0e8d-4164-a5ab-926329cd1c61","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1386291032110,"name":"DELETE a Queue row given a UUID (ROOT TABLE)","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","id":"84761df7-188e-ac7f-57ab-a6bc90759673","name":"DELETE a Bridge row given UUID","description":"Please note that the UUID used here must be one of the existing UUID of a Row in Bridge Table","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/bridge/rows/45677cc9-bed2-4def-9986-b05a9b59f1f4","method":"DELETE","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1384465149749,"synced":false},{"id":"8ba0d3a3-1a3f-1722-513b-02d4546011c9","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/controller/rows/68e97a9a-9f2c-497a-b39b-7f1e37c30c6f","data":"","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"DELETE","version":2,"time":1385391658840,"name":"DELETE controller row given UUID","description":"package org.opendaylight.ovsdb.plugin\n\nclass ConfigurationService\n\nMethod: deleteControllerRow()","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"94173b9e-1541-3d46-4e3c-31d6400dadd3","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/port/rows/2f93780e-ce56-4cce-9f7c-579be7996651","data":"","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"DELETE","version":2,"time":1385084358582,"name":"DELETE port row given UUID","description":"package org.opendaylight.ovsdb.plugin\n\nclass ConfigurationService\n\nMethod: deletePortRow()","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"98fc409e-3eb4-3178-53ab-2a4cb5370b92","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/manager/rows","data":"{\n  \"parent_uuid\":\"8d3fb89b-5fac-4631-a990-f5a4e7f5383a\",\n    \"row\":{\n      \"Manager\":{\n        \"target\":\"a_string\",\n        \"is_connected\": true,\n        \"state\":\"active\"\n      }\n    }\n}","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"POST","version":2,"time":1384920841537,"name":"INSERT a Manager Row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"ab3c818e-526c-1938-e5d4-64136c00aa64","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/bridge/rows/66ad493c-23cf-45e7-b5a5-1901fb3165f4","pathVariables":{},"method":"PUT","data":"{\n    \"row\":{\n      \"Bridge\":{\n        \"netflow\": [\"55f5d382-17fd-4c42-850d-02c282a67c20\",\"60db8cde-26e6-4bf9-bb08-cd1da68d1fcc\"]\n                \n      }\n    }\n}","dataMode":"raw","version":2,"time":1386202840003,"name":"Update (PUT) Bridge table","description":"Please note that the UUID used here must be one of the existing UUID of a Row in Bridge Table.\n\nAlso the Update must be done ONLY on the fields that needs update. Should NOT send all the immutable fields again. Update will fail in that case.","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"ac6e529f-6f5a-39d9-ce35-849fe361500d","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/controller/rows","data":"{\n  \"parent_uuid\":\"641b9f2c-a42c-4de9-a94b-5e3bbe1b3d46\",\n    \"row\":{\n      \"Controller\":{\n      }\n    }\n}","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"POST","version":2,"time":1385506596739,"name":"Add Controller to Bridge","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"b8d189c1-ddea-6841-af5f-c879d83d582e","url":"http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/192.168.1.102/port/6640/","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\n","dataMode":"params","method":"PUT","version":2,"time":1385493381229,"name":"Connect controller to OVSDB server","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"b8e56ff8-04d7-bf8f-fb3d-5cfe13b3834e","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/interface/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384866802408,"name":"GET all interface rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"bc7a068f-dcd2-198d-f526-d836472399e3","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/queue/rows","pathVariables":{},"method":"GET","data":[],"dataMode":"params","version":2,"time":1385846165644,"name":"GET all Queue rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"bea94160-60b8-a9d1-25de-af6502d5c7dd","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/port/rows/97a82ec9-e85e-4a48-9b77-ca4a41128b90","pathVariables":{},"method":"PUT","data":"{\n    \"row\":{\n      \"Port\":{\n        \"qos\": [\n          \"ab2b6f2d-5cb4-4dcf-ac1b-c989ae3d76ce\"\n                ]\n      }\n    }\n}","dataMode":"raw","version":2,"time":1386208729980,"name":"Update Port Table","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"c3c36bc0-e6a5-5007-2049-854e89e0093a","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/interface/rows","data":"{\n  \"parent_uuid\":\"ea70e5b1-8b21-4caf-a102-0b85b6c63119\",\n    \"row\":{\n      \"Interface\":{\n        \"name\":\"s1-1125-1\",\n        \"mac\":[\"00:00:bb:bb:00:01\"],\n        \"admin_state\":\"up\"\n      }\n    }\n}","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"POST","version":2,"time":1385389642924,"name":"Create row: Interface Table","description":"package org.opendaylight.ovsdb.plugin\npublic class ConfigurationService\n\nMethod: insertInterfaceRow\n","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"d1013fcb-7da8-0673-eadd-c63e9b71acba","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/port/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384863858721,"name":"GET all port rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"d1cf2cea-4f08-9d55-6d07-5662a3d93bb6","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/qos/rows/739f3929-3a3e-45b1-88ea-afc09df0ca5c","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1386292478840,"name":"DELETE a QoS row given a UUID (ROOT TABLE)","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"d637a11a-f0e8-c571-864f-7853abc1605e","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/SSL/rows","pathVariables":{},"method":"POST","data":"{\n    \"row\":{\n      \"SSL\":{\n        \"name\":\"mySSL\",\n        \"ca_cert\" : \"ca_cert\",\n        \"bootstrap_ca_cert\" : true,\n        \"certificate\":\"pieceofpaper\",\n        \"private_key\" : \"private\"\n      }\n    }\n}\n","dataMode":"raw","version":2,"time":1385766215625,"name":"INSERT an SSL row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"e54bf72a-61c9-c569-b84c-db8b300fe976","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/qos/rows","pathVariables":{},"method":"GET","data":[],"dataMode":"params","version":2,"time":1385833787440,"name":"GET all QoS rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"ee02ff5b-f217-024f-e8bf-347b0af9b73c","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/interface/rows/45bf1633-1411-4c92-87f8-b1492eed2ff6","data":"","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"raw","method":"DELETE","version":2,"time":1385442001088,"name":"DELETE interface row given UUID","description":"package org.opendaylight.ovsdb.plugin\n\nclass ConfigurationService\n\nMethod: deleteInterfaceRow()","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"f2312567-3c45-74d0-c39f-0a10f9b3f5e1","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/qos/rows","pathVariables":{},"method":"POST","data":"{\n  \"parent_uuid\" : \"b109dbcf-47bb-4121-b244-e623b3421d6e\",\n  \"row\" : {\n  \t\"QoS\": {\n      \"type\": \"linux-htb\"\n    \t}\n\t}\t\n}","dataMode":"raw","version":2,"time":1386291627774,"name":"INSERT a QoS row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"f3421bad-6229-a5d1-6cbe-ec41de4900b5","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/netflow/rows/60db8cde-26e6-4bf9-bb08-cd1da68d1fcc","pathVariables":{},"method":"DELETE","data":"","dataMode":"raw","version":2,"time":1386202872294,"name":"DELETE a NetFlow row given UUID","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"f745d42a-715a-fc49-3c72-e391c7faa15b","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/SSL/rows","pathVariables":{},"method":"GET","data":[],"dataMode":"params","version":2,"time":1385766024370,"name":"GET all SSL row","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false},{"id":"faeecd3b-d030-0acf-506b-6ba72d6906bc","url":"http://localhost:8080/ovsdb/nb/v2/node/OVS/HOST1/tables/bridge/rows","data":[],"headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n","dataMode":"params","method":"GET","version":2,"time":1384863804932,"name":"GET all bridge rows","description":"","collectionId":"6768e1b3-2d6e-b03b-9e2f-095ae8ec5770","responses":[],"synced":false}]}
\ No newline at end of file
diff --git a/resources/commons/README b/resources/commons/README
new file mode 100644 (file)
index 0000000..a839207
--- /dev/null
@@ -0,0 +1,10 @@
+
+This directory contains all the associated scripts and configuration files that can be used by developers and
+administrators working on ovsdb project in general.
+
+Contents 
+--------
+
+1. Mininet_Demo_OVSDB_OF.json.postman_collection : Collection of REST-APIs used in the Mininet demo (http://www.youtube.com/watch?v=8iWhMVlflwE)
+
+2. OVSDB_Northbound_APIs.json.postman_collection : Collection of REST-APIs detailing on all the ovsdb.northbound APIs.
diff --git a/resources/openstack/DevStack.json.postman_collection b/resources/openstack/DevStack.json.postman_collection
new file mode 100644 (file)
index 0000000..81e2e1e
--- /dev/null
@@ -0,0 +1 @@
+{"id":"8ced994a-307c-ff92-8fff-b6ab521e1aec","name":"DevStack","description":"Scripts used in devstack testing","order":["534300ea-fca8-4c8a-769c-227b3129d3a0","d1a99582-dff6-26ae-6416-89bd3788dd47"],"folders":[],"timestamp":1385264376897,"synced":false,"requests":[{"collectionId":"8ced994a-307c-ff92-8fff-b6ab521e1aec","id":"534300ea-fca8-4c8a-769c-227b3129d3a0","name":"Connect to ovsdb-server running in Devstack Controller","description":"","url":"http://localhost:8080/controller/nb/v2/connectionmanager/node/STACK1/address/192.168.56.101/port/6640/","method":"PUT","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\n","data":[],"dataMode":"params","timestamp":0,"responses":[],"version":2,"synced":false},{"collectionId":"8ced994a-307c-ff92-8fff-b6ab521e1aec","id":"d1a99582-dff6-26ae-6416-89bd3788dd47","name":"Connect to ovsdb-server running in Devstack compute","description":"","url":"http://localhost:8080/controller/nb/v2/connectionmanager/node/STACK2/address/192.168.56.102/port/6640/","method":"PUT","headers":"Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\n","data":[],"dataMode":"params","timestamp":0,"responses":[],"version":2,"synced":false}]}
\ No newline at end of file
diff --git a/resources/openstack/README b/resources/openstack/README
new file mode 100644 (file)
index 0000000..10c0f3e
--- /dev/null
@@ -0,0 +1,18 @@
+
+This directory contains all the associated scripts and configuration files that can be used by developers and 
+administrators working on openstack and devstack.
+
+Contents
+--------
+
+1. odl_os_ovs.sh : Stands for OpenDaylight_OpenStack_Openvswith.sh (cant be more Open than this ;) )
+                   Script used in OpenStack Deployments/devstack in order to initialize openvswitch/ovsdb-server
+                   in order to work with the OpenDaylight's OVSDB southbound plugin effectively.
+                   This scripts sets up ovsdb-server manager to listen to the Passive TCP socket open on 6640.
+                   It also configures the Open_vSwitch table in OVSDB with local-ip for the Overlay Tunnel end-point. 
+
+2. local.conf.controller : A sample development local.conf used on the devstack Controller node with Neutron ML2 mechanism driver for OpenDaylight.  
+
+3. local.conf.compute : A sample development local.conf used on the devstack Compute node with Neutron ML2 mechanism driver for OpenDaylight.  
+
+4. DevStack.json.postman_collection : Relevant POSTMAN OpenDaylight REST-APIs that can be used for testing Openstack / Devstack deployments.
diff --git a/resources/openstack/local.conf.compute b/resources/openstack/local.conf.compute
new file mode 100644 (file)
index 0000000..7b69880
--- /dev/null
@@ -0,0 +1,58 @@
+
+## RENAME THIS FILE TO local.conf BEFORE USING IT IN THE COMPUTE NODE##
+
+[[local|localrc]]
+LOGFILE=stack.sh.log
+OFFLINE=true
+#RECLONE=yes
+disable_all_services
+#enable_service n-cpu quantum q-agt n-novnc qpid
+enable_service neutron nova n-cpu quantum q-agt n-novnc qpid
+HOST_NAME=fedora2
+HOST_IP=192.168.56.102
+SERVICE_HOST_NAME=fedora1
+SERVICE_HOST=192.168.56.101
+
+FLOATING_RANGE=192.168.100.0/24
+
+Q_PLUGIN=ml2
+#Q_ML2_TENANT_NETWORK_TYPE=vlan
+#ENABLE_TENANT_VLANS=True
+Q_ML2_TENANT_NETWORK_TYPE=vxlan
+Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_types=vxlan)
+Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger
+NEUTRON_REPO=https://github.com/CiscoSystems/neutron.git
+NEUTRON_BRANCH=odl_ml2
+
+#Q_PLUGIN=ml2
+#Q_AGENT=openvswitch
+#Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge,l2population
+#Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_types=gre)
+#Q_AGENT_EXTRA_SRV_OPTS=(local_ip=$HOST_IP)
+
+Q_HOST=$SERVICE_HOST
+MYSQL_HOST=$SERVICE_HOST
+RABBIT_HOST=$SERVICE_HOST
+GLANCE_HOSTPORT=$SERVICE_HOST:9292
+KEYSTONE_AUTH_HOST=$SERVICE_HOST
+KEYSTONE_SERVICE_HOST=$SERVICE_HOST
+MYSQL_PASSWORD=mysql
+RABBIT_PASSWORD=rabbit
+QPID_PASSWORD=rabbit
+SERVICE_TOKEN=service
+SERVICE_PASSWORD=admin
+ADMIN_PASSWORD=admin
+
+LOGFILE=/opt/stack/logs/stack.sh.log
+VERBOSE=True
+LOG_COLOR=False
+SCREEN_LOGDIR=/opt/stack/logs
+EXTRA_OPTS=(scheduler_default_filters=AllHostsFilter)
+
+#[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
+#[ml2_odl]
+#url=http://192.168.56.1:8080/controller/nb/v2/neutron
+#username=admin
+#password=admin
diff --git a/resources/openstack/local.conf.controller b/resources/openstack/local.conf.controller
new file mode 100644 (file)
index 0000000..8651512
--- /dev/null
@@ -0,0 +1,69 @@
+
+## RENAME THIS FILE TO local.conf BEFORE USING IT IN THE CONTROLLER NODE##
+
+[[local|localrc]]
+LOGFILE=stack.sh.log
+SCREEN_LOGDIR=/opt/stack/data/log
+LOG_COLOR=False
+#OFFLINE=True
+RECLONE=yes
+disable_service rabbit
+enable_service qpid
+enable_service n-cond
+disable_service n-net
+enable_service q-svc
+enable_service q-agt
+enable_service q-dhcp
+enable_service q-l3
+enable_service q-meta
+enable_service quantum
+# ODL WITH ML2
+# #enable_service odl
+Q_PLUGIN=ml2
+Q_ML2_TENANT_NETWORK_TYPE=vxlan
+Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_types=vxlan)
+
+#Q_ML2_TENANT_NETWORK_TYPE=gre
+#ENABLE_TENANT_TUNNELS=True
+#ENABLE_TENANT_VLANS=True
+#TENANT_VLAN_RANGE=500:510
+Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger
+NEUTRON_REPO=https://github.com/CiscoSystems/neutron.git
+NEUTRON_BRANCH=odl_ml2
+
+Q_HOST=$SERVICE_HOST
+HOST_IP=192.168.56.101
+
+#Q_PLUGIN=ml2
+#Q_AGENT=openvswitch
+#Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge,l2population
+#Q_USE_SECGROUP=True
+#Q_AGENT_EXTRA_SRV_OPTS=(local_ip=$HOST_IP)
+
+HOST_NAME=fedora1
+SERVICE_HOST_NAME=${HOST_NAME}
+SERVICE_HOST=192.168.56.101
+FLOATING_RANGE=192.168.100.0/24
+#PUBLIC_NETWORK_GATEWAY=192.168.75.254
+MYSQL_HOST=$SERVICE_HOST
+RABBIT_HOST=$SERVICE_HOST
+GLANCE_HOSTPORT=$SERVICE_HOST:9292
+KEYSTONE_AUTH_HOST=$SERVICE_HOST
+KEYSTONE_SERVICE_HOST=$SERVICE_HOST
+MYSQL_PASSWORD=mysql
+RABBIT_PASSWORD=rabbit
+QPID_PASSWORD=rabbit
+SERVICE_TOKEN=service
+SERVICE_PASSWORD=admin
+ADMIN_PASSWORD=admin
+
+[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
+[ml2_odl]
+url=http://192.168.56.1:8080/controller/nb/v2/neutron
+username=admin
+password=admin
diff --git a/resources/openstack/odl_os_ovs.sh b/resources/openstack/odl_os_ovs.sh
new file mode 100755 (executable)
index 0000000..15cb009
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+# odl_os_ovs.sh : Stands for OpenDaylight_OpenStack_Openvswith.sh (cant be more Open than this ;) )
+
+if [ `whoami` != "root" ]; then
+    echo Please execute this script as superuser or with sudo previleges.
+    exit 1
+fi
+
+if [ "$#" -ne 1 ]; then
+  echo "Usage: odl_ovs_os.sh <tunnel-endpoint-ip-address>" >&2
+  echo "       <tunnel-endpoint-ip-address> is same as the local-ip configuration done for ovs-neutron-agent in ovs_quantum_plugin.ini"
+  exit 1
+fi
+
+ovs-vsctl set-manager ptcp:6640
+read ovstbl <<< $(ovs-vsctl get Open_vSwitch . _uuid)
+ovs-vsctl set Open_vSwitch $ovstbl other_config={"local_ip"="$1"}
+ovs-vsctl list Open_vSwitch .