29 Commits

Author SHA1 Message Date
Devin Lim
0d944e2682 Fixed the path of the onos-netcfg
Change-Id: I60e5cdf6c8863c235395d341c4db21d4c5ba2ef3
2017-06-27 23:39:16 +00:00
Yuta HIGUCHI
991caf92ef Fixing opticalUtils.py
- Added ectest.py used by test scenario
  originally from https://github.com/akoshibe/ecord-topos/blob/master/ectest.py
- Fixed issues found in opticalUtils.py

Change-Id: I100f5d6bab467fe60af24cf88817dba0911a9916
2017-06-06 18:58:35 +00:00
Ching-Ting Sun
60445dd221 ONOS-3615 Redefined some static methods in opticalUtils.py as normal functions.
Change-Id: Ie3a5831f7d2c4ea889c6399ae914dfb1da3cec7f
2017-05-06 00:14:03 +00:00
HIGUCHI Yuta
3fd2f94d51 Limit fields added to BasicDeviceConfig
- Fixing opticalUtils.py, which was broken due to additional constraint added by
   Change-Id: I372e6c7e6c0fa6fa52301568af73342aaae6347b

Change-Id: I4233550c9e483448599a2dd501a50309ceb2e4c8
2016-01-26 21:41:14 +00:00
HIGUCHI Yuta
d95f3cda0c ONOS-3422 inter-domain cross connect
- Add network configuration about cross connect port for CO-ONOS
- revised metro.py requires ecord.co app after
  (Change-Id: I3892e780bc6550f8a8d8be622b9fee5322c1dab5)
  to be loaded.
- stop using onos-topo-cfg to send netcfg

Change-Id: Ie90e69c4134d1f71893bf43ee6c290bdbd273aeb
2016-01-06 18:34:37 +00:00
Marc De Leenheer
8b5aae8410 Optical link annotations are enabled (only 'durable' for now). Removed dead code.
ONOS-3388

Change-Id: Ibe05e1298aa469ec1cd3b9f3664911323bc59015
2016-01-05 07:38:04 +00:00
Marc De Leenheer
32fc3d247f [Falcon] Cleanup of unused annotations in optical test topos.
First round of cleanups in opticalUtils.py.

Change-Id: I5f627fc471220c3a7194d913764f8c84e6f0fe6e
2015-12-17 20:22:00 +00:00
acsmars
bbab1a1908 Fixed timeout logic for waiting for onos device discovery in opticalUtils.py
Change-Id: I6e019cf8eafed296f4b4a345ac18c7ddc62acee0
2015-12-11 23:54:42 +00:00
Marc De Leenheer
2c30530578 Deprecate IndexedLambda and remove from optical intent compiler.
Allow drivers to report any spectral grid. Bugfixes.

ONOS-3495

Change-Id: Ied946660d48e482c1746d1e87735498b1637bb4b
2015-12-11 17:53:38 +00:00
HIGUCHI Yuta
11d1609a5f [Emu] new ResourceService related bug fixes
- ResourceDeviceListener should also react to availability events.
- Should check if device supports the behavior before
  retrieving Behaviour class
- ResourceManager should unregister when requested
- opticalUtils was specifying wrong driver name. Should've been "linc-oe"

Change-Id: I9364b6307cb537b04b57ac00f2451c13e3379471
2015-12-08 03:59:05 +00:00
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