19 Commits

Author SHA1 Message Date
Ayaka Koshibe
a879a04108 opticalUtils.py:
allow Linc to be aware of switches that are in the same domain as it, so that it
doesn't wait for OVS devices not in its domain during startup.

Change-Id: I542da075c65b54a866ac1f400e4e71a7f2164709
2015-11-21 01:32:01 +00:00
Ayaka Koshibe
143b1c7b0e in opticalUtils.py:
General logic fixes for emulating multi-domain networks

Change-Id: I58e487e0b663a6b64e99d93d6fa5cea6afe86aac
2015-11-19 22:36:05 +00:00
Ayaka Koshibe
144bab0c35 opticalUtils advertises correct port types
This should proactively prevent linc-OE from misbehaving if support for changing
port type through the network config system is added.

Change-Id: I80667f0292922eca37a51f3e461b6745ecbf9d46
2015-10-30 05:58:44 +00:00
Ayaka Koshibe
d88b81d300 opticalUtils.py modifications
o Topology.json matches what the network configuration system expects. New method
for converting opticalJSON added to add layer of indirection to (hopefully) make
changes easier in the future if syntax changes for any files.

o onos-topo-cfg takes a third argument for REST uri path. This is for backwards
compatibility, and can hopefully be removed when everything is ported away from
using the ConfigProvider.

Change-Id: I56a117f33194dd420ea4970cd612c980b5c020b9
2015-09-22 00:41:38 +00:00
Ayaka Koshibe
b0d7058766 REST authentication in opticalUtil
Environment variables are checked before falling back on and exporting
tentatively chosen defaults.

Change-Id: If378127a2cc757b55024aeb89cb1964f8641d5a6
2015-09-15 17:19:57 +00:00
Ayaka Koshibe
c9eed38906 opticalUtil:
Authenticate against REST API. Caveat: assume sane default user/pw.

Change-Id: Id4197ce648dbc8de9b56f180beefcbf9b7d6c529
2015-09-04 01:17:00 +00:00
Nikhil Cheerla
f9391e1dc9 Minor opticalUtils.py patch
Change-Id: I03e1daf02da024c9a27baf3e1de719f36868e6f9
2015-07-22 02:19:52 +00:00
Nikhil Cheerla
7d7f3be407 OECFG (onos-oecfg) completely removed
Change-Id: Id44f58c0402cfdb0fedd91d8a3479cc817f2b4a4
2015-07-16 18:49:02 +00:00
Marc De Leenheer
6ff97649ac Revert "OECF removed working"
This reverts commit 5f8f8f0cfb4dd0e9f633aa53b9ea8224cc986e5f.

Change-Id: I13207976c26fc210994c90e213349790a4227440
2015-07-09 20:32:09 +00:00
Nikhil Cheerla
5f8f8f0cfb OECF removed working
Change-Id: I178a227fedacb4efc8669c839042d952f4efd670
2015-07-07 23:57:10 +00:00
Ayaka Koshibe
74b5527081 Miscellaneous fixes for reading Linc-OE port types.
- Keep track of created PortDescriptions so that they can be replayed when
   configurations don't stick
 - Push topology configs to all cluster members (Temporary hack until
   Configs are made Mastership-aware)
 - Port type consistency for Optical ports - default to FIBER port type

Change-Id: Ib2c9e2839c212d2998206bd0106490b2b38446a9
2015-05-28 22:57:37 +00:00
Marc De Leenheer
d24420f41e Add OCh signal type to optical path intent.
Revert changes to LINC-OE specialized flowmod handling.

Change-Id: Ic4f333a44b7cd8a3111bfcba87ea909943eec56d
2015-05-28 22:53:42 +00:00
Marc De Leenheer
1afa2a0350 Rewrote optical connectivity intent compiler
Change-Id: I5acece3c14bed8a23f7bbe0c5a9bc0932a2a0881
2015-05-19 18:18:28 +00:00
Marc De Leenheer
16f857baa3 First round of cleanups in optical path provisioner. No more user input for packet/optical mininet script.
Change-Id: Ibbfa6a17a97432da8dee63e9cd15fa6b1c2c1e46
2015-05-08 23:39:37 +00:00
fahad
44e62c7e0f Lots of improvements in opticalUtils.py
Now we can controll LINC components from mininet e.g swtich start/stop or link up/down
-Added LINCSwitch, LINCIntf and LINCLink classes
    -fixed start/stop LINC-Switch bug related to taps
    -refactored opticalUtils.py
    -fixed typo
    -Implemented LINC-CLI support in LINCSwitch class
    -Added support for link up/down from mininet
    -Added support for switch start/stop from mininet
    and many more :)

Change-Id: Ide6460081a554ea3ca9146be480ae016d7d2356d
2015-04-15 23:35:25 +00:00
Marc De Leenheer
cb9c0ba6c5 Fix rewriting of LINC-OE config for long controller IPs (ONOS-834).
Change-Id: I1e60ca4dc4d5d444eca905e13e234ad781009755
2015-01-28 22:15:32 +00:00
Brian O'Connor
025fb4486f Adding more T-ports to big topo
Setting up bidirectional T-ports in OpticalPathProvisioner

Change-Id: I4e97b2eb53d3d4182aae9c98a227de982f492950
(cherry picked from commit d6843bed27c4b2b4e95984c99de3c54edcefc67f)
2015-01-15 14:02:11 -08:00
Marc De Leenheer
680639436b Configure LINC-OE to use multiple controllers
[Merged from onos-1.0]

Change-Id: I69b1c8935acdc8869cd19eb916e310965d8a2f48
(cherry picked from commit 16268818909c945b2824ccc47f08d38bf13df407)
2015-01-14 01:30:44 +00:00
Brian O'Connor
eb27c45ba3 Adding optical topo files
[Merged from onos-1.0]

Change-Id: I276454b09d32e1a7b7182271ddba8cf6add71c40
(cherry picked from commit e84ab32f84aea4a0604e8b15fd22e75f85aaa85b)
2015-01-13 22:44:01 +00:00