36 Commits

Author SHA1 Message Date
fahadnaeemkhan
ffc917f9c8 ONOS-7080 and ONOS-7070:
- added support for user-defined signal in add-optical-intent CLI
	- implemented LambdaQuery behavior for restCiena driver
	- added port based filtering of paths in OpticalIntentCompiler

Change-Id: Ibb61cc3722d5b3a52859d5585decf82a50ef5be0
2017-10-11 23:22:12 +00:00
Thomas Vachuska
e6a5741ce5 Enhancing driver subsystem to support asynchronous event notifications.
Change-Id: I6850aae4f660b8328378da98460529eb58531732
2017-08-24 16:54:26 +00:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Marc De Leenheer
adfeffdfac Add channel parameter to optical connectivity intent (ONOS-6670)
Change-Id: I3d61e28b82f845db025d21cc65e9240b6ee2b6cc
2017-07-20 19:10:41 +00:00
Marc De Leenheer
03a52b0e83 Simplify optical compiler by always searching for common lambda (ONOS-5765)
Change-Id: I9128f59cc9c0bf10b88341cac289fb606906d98b
2017-06-16 07:36:42 +00:00
Thomas Vachuska
2048c1f81b Cleaning up intent tests setup/teardown to avoid cascading failures
with respect to binding ID generator.

Change-Id: Ia4778f16ff5a3ecb26062e7d7b2c36493081140d
2017-05-11 09:39:42 -07:00
Andrea Campanella
5d73df799c [ONOS-5925] Removing 1.6 deprecated optical ports
Change-Id: I2c8583323e6c99d08f3568a81941036fa8e949d8
2017-05-10 19:06:24 +00:00
Yuta HIGUCHI
0164c1c9f2 Log some context when Intent failed.
Change-Id: Ib30f78f970680144f920ca4754825f78eedb658b
2017-05-05 20:54:57 +00:00
Yuta HIGUCHI
65d9d0ebc6 [ONOS-6412] allocate resource by Intent.Key
- Allocate resources by Intent.Key instead of IntentId

- ONOS-5808 changed the IntentManager's Intent withdrawal behavior to
  release resouces allocated by Intent.Key
  (was releasing resource allocated by IntentId)

Change-Id: I62e048e4ee8f841b92d9985784c95abba3d37a0a
2017-05-04 22:31:56 +00:00
Yuta HIGUCHI
02f8d2efd6 ONOS-6306 Lamda resource allocation aware PCE
Change-Id: I9c6cc729c7bbfdc68f591f868e8d7143f207d5d3
2017-05-04 19:11:11 +00:00
Yuta HIGUCHI
c57ee90bc4 Clarify power-level unit annotations.
Change-Id: I9a5e39df57e4f7eb2f2c796936cdf7343a6347c5
2017-05-01 19:26:37 -07:00
Marc De Leenheer
43b91ad5d0 Bug fixes for optical use case.
Change-Id: I62bff2ec639957043890bf06b8ba0d9abe0b6b04
2017-04-21 02:03:43 +00:00
Ray Milkey
88cc3432cf Update checkstyle to version 6.19
Change-Id: I32787f2a5f4f4b17fd4cdcf9bd2eb3903dcecfff
2017-03-31 00:59:32 +00:00
Marc De Leenheer
b6f95e2433 Do not create wavelength-based match/actions for wavelength-transparent devices.
Change-Id: I665daad954210101cf0ab04671673bf7cb1e4e46
2017-03-15 17:11:48 -07:00
Yuta HIGUCHI
d2f041ef26 minor fixes around optical
Change-Id: Ie1c9c57b021d27f672efeb25831594e177e5e784
2017-03-10 22:38:41 +00:00
Jimmy Jin
1085239c32 Oplink Protection Switch Driver for Protection Behavior
Change-Id: Ibf7e48aa158c8b007474b3fc89f8be092776a2ba
2017-03-10 18:41:53 +00:00
Yuta HIGUCHI
e80ec2cba8 Updating/fixing optical related documentation
- no functional change other than log level

Change-Id: I1e7382b52f4c20f75ac74d3eeea7cc94fc17a3cf
2017-03-08 18:33:22 +00:00
Yuta HIGUCHI
09697d0a5d ONOS-6067 avoid sending FlowRule against EDFA device.
- Also exclude optical amplifier type from default no-LLDP list

Change-Id: I220d0a3cfa95d80644707cbe3395d3ed63540716
2017-03-07 07:01:44 +00:00
Yuta HIGUCHI
24bc76b07a Add support for local-status in ForwardingDeviceService
Change-Id: I2e2750cb3ef069d4f3f763ef045fe5c686f9874a
2017-03-02 20:13:21 +00:00
Konstantinos Kanonakis
198b039c41 Allowing findPorts() to use all possible OduSignalType values
Change-Id: Ia8431754629345e467a853cda4d4b1a9f3e2a55e
2017-02-23 19:27:26 +00:00
Konstantinos Kanonakis
5c69c75c81 Including ROADM_OTN device type in AddOpticalIntentCommand
Change-Id: Ic57d8e996f48e2cf43f5554586ad7ca2fef84e2d
2017-02-23 00:23:17 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
Yuta HIGUCHI
5ae8085042 Assign OchPort speed based on ODU signal type
+ cosmetic fix

Change-Id: I6bf5b3417fabdf6c6233b8d945c0c15f47424f36
2017-02-14 19:59:09 +00:00
Thomas Vachuska
2323596967 Added code to intent unit tests to pre-emptively unbind ID generator to avoid cascading failures.
Change-Id: I2e5aff44a90ceeaaad71d7154b79f20edab620a7
2017-02-03 11:44:15 -08:00
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
Yuta HIGUCHI
652f27f0fe Inherit Intent Key on compilation
- Added Intent#key() method description
- Inherit key field from parent Intent during Intent
  compilation process
- Added assertion to existing unit tests

Change-Id: Iff85c5ec448b3f378957b7a20af865ad96cc3216
2016-11-21 21:37:09 +00:00
Yuta HIGUCHI
5ccaefbf42 Minor modification to OpticalPortConfig
- Consolidate JSON object key constants on Config class

Change-Id: I7f3b74dd171d1589e259f4b6d3371509359c757d
2016-09-21 00:48:10 +00:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Jimmy Yan
d20e44f9d5 Move OmsPortHelper annotation keys to OpticalAnnotations
Change-Id: I80ad924a8dfde61ac2fbc1d9836d3f145bfc48dc
2016-09-12 17:48:31 +00:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
yjimmyy
b94f93b7a3 Implement Oplink drivers for port adjacency
Change-Id: I3cdc402c4dac544a7cb48544352df758c416345d
2016-08-15 18:28:57 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
Yuta HIGUCHI
1d547bf406 [ONOS-4513] decouple optical-model from CLI
- core/cli is now optical-model clean
- Add command for pretty printing optical-ports

Change-Id: I2926ef6d52971d1a7f6642dfe4098d7ed2422363
2016-08-03 18:54:55 +00:00
Yuta HIGUCHI
d95d590b7e [ONOS-4513] Move optical Intent compilers out to optical-model (3/3)
- core/net is now optical clean
- reverting part of Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
 which lead to loss of package import information, causing OSGi issue

Change-Id: Ie6b16abd3ecc872f0920d29c7577a10c44091af6
2016-08-03 18:54:43 +00:00
Yuta HIGUCHI
b9af6b79ef [ONOS-4691] Refactoring OpticalPortOperator (2/3)
- Define ConfigOperator for a Port
- Refactor OpticalPortOperator as PortConfigOperator
- Add plug-in mechanism for PortConfigOperator on DeviceManager
- Move OpticalPortConfig, OpticalPortOperator to optical-model bundle

Change-Id: I5d416305b0c1b0e31e0ad64baa92d126303548bc
2016-08-03 18:54:26 +00:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00