Victor Silva
ff5871b061
OpenFlow: use same timer throughout all component lifetime
...
Calls to the modified methods (all configuration changes through the
CLI, for example) of OpenFlowDeviceProvider and OpenFlowRuleProvider
cause a switch from executor to another one on PortStatsCollector and
FlowStats collector respectively.
Since these Collectors are constructed with a Timer argument, we might
as well use those timers properly right away.
Change-Id: I32aa8c89d9615ea065e5fd9fd7dfc70da96b9739
2016-10-17 13:03:54 +00:00
Victor Silva
7944d14530
OpenFlowDeviceProvider: call modified to properly grab configuration
...
Call modified() to grab configuration, if it exists. Current
behavior is to ignore previous cfg files and only really change
the property after configuration events.
Co-Authored-By: Thiago Sousa Santos <thiago@waltznetworks.com>
Change-Id: I48408cc77a296f4ed47a026856ca41458c9c62b7
2016-09-20 19:17:57 +00:00
Brian O'Connor
bfc02ecd22
Bumping snapshot version to 1.8.0-SNAPSHOT
...
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82
Bumping version back to 1.7.0-SNAPSHOT
...
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19
Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
...
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a4e6742b8
Copyright update
...
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Ray Milkey
3c4124a97e
Fix ConcorrentModifcationException in statistics map
...
Change-Id: I46746afccb0d49277d365589fa7ae550b7c2acb1
2016-08-31 20:41:21 +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
sangyun-han
07a572fc94
[ONOS-4668] Refactoring port statistic collector using SharedExecutor
...
- Add OpenFlowSwitchAdapter
Change-Id: I7bd9c61d8961bee18eca2c1ac0e5fca610e166e5
2016-08-03 04:02:12 +00:00
sangyun-han
147e6f431d
Add switch null exception and log
...
Change-Id: Ibf8d7d05c2e86cd7d7f73c6bcd1eb3575ca5ed4b
2016-07-26 17:31:55 +00:00
yjimmyy
646aa02614
Implement PowerConfig for Oplink Devices
...
Change-Id: I939126580f8d3cdcdbcd9a46f6ee5cacbd25051d
2016-07-07 03:30:46 +00:00
Jimmy Yan
4deb03b729
Use LambdaQuery in OpenFlowDeviceProvider to get details for optical ports and fix OmsPort totalChannels()
...
Change-Id: I09bee1ad1cbf4b8d7185c2b022ffed4d8b2ef2e7
2016-06-28 20:44:47 +00:00
Madan Jampani
84382b9426
Misc fixes in openflow provider subsystem
...
Change-Id: I5e6ab619f66ca71badc25efc7be7560070639051
(cherry picked from commit 91e1d737f6c60b48d7b2eb03a524138db1d68e8c)
2016-06-23 08:48:38 +00:00
Simon Hunt
7a30765c6b
Fixed capitalization of "portStatsPollFrequency" property.
...
- all other properties defined in core ONOS start with lowercase letter.
Change-Id: Ia2750bef205196a621e9a37dedf2379a9de17342
2016-06-23 08:45:13 +00:00
Brian O'Connor
1b2aea88c0
Removing gratuitous relativePath from pom.xmls
...
The default value for relativePath is: ../pom.xml
Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Thomas Vachuska
a394b95a6d
Fixed issue with leaking various switch-related collectors, e.g. port stats, meters, table stats, flow stats.
...
Change-Id: If46102708fa88cf5f251a18cb9ce09393fb95752
2016-06-14 23:23:57 +00:00
Brian O'Connor
e642f7cf7b
Bumping version to 1.7.0-SNAPSHOT
...
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
HIGUCHI Yuta
5be3e820cf
ONOS-4417 Remove OtuPort out of core.
...
Change-Id: Ibc72ee617b238005585f0bcd873b9123e48ee7fc
2016-05-09 23:39:00 +00:00
HIGUCHI Yuta
4c0ef6b54a
ONOS-4416 Remove OduCltPort out of core.
...
Change-Id: I04324a72e48af84afdbfa32b84c8e57f39411000
2016-05-09 23:38:47 +00:00
HIGUCHI Yuta
95d83e8067
ONOS-4415 Remove OmsPort out of core.
...
Change-Id: Ic796c4e715789ba18f350f28e29db04dd537822f
2016-05-09 23:38:16 +00:00
HIGUCHI Yuta
34a3f69be1
ONOS-3503 Remove OchPort out of core.
...
- Implementation of a Behavior OpticalDevice has the knowledge of
translating annotations into optical specific port.
- OpticalDeviceServiceView checks if the Device is a OpticalDevice
and translate all the Ports to optical specific port before returning.
- This commit contains feedbacks, issues, and fixes by Michele Santuari.
- Note: 3 more Port types to go (OduClt, Oms, Otu)
Change-Id: I4cbda8bc1922fbdd4dac8de8d02294bad74b8058
2016-05-09 22:24:41 +00:00
Jian Li
a78cdb217a
Refactor the logic on collecting OpenFlow message statistics
...
Change-Id: I34c209c0ca90cb094ed5f82c96a8a43d3519b807
2016-05-03 19:03:28 +00:00
Charles Chan
b3ef0db920
ONOS-4395 Fix NPE in OpenFlowDeviceProvider
...
Following gerrit #8858
Change-Id: I55cc4d9ee028e11e099657752a12d2c026893a59
2016-05-03 11:20:33 -07:00
sangyun-han
c180686042
Add configurable method to SimpleFlowRuleStore
...
- Add @Modified annotation
- Delete TODO annotation
Change-Id: Ida2855c23105f68cfa2f2b7bb4ec3f384a2de838
2016-05-02 22:12:03 +00:00
Ray Milkey
8dac818d23
Refactor protocol BUCK files to use more modern rules and format
...
Change-Id: I9262fdeef12cfd098afefc711d995ffc76b9efb1
2016-04-29 17:33:12 -07:00
Ray Milkey
aeb0079719
Refactoring of provider buck builds.
...
Change-Id: I9b5e2566b83c13a8b7b086005a08a8182305ffdb
2016-04-25 17:03:49 +00:00
Charles Chan
b713dded6c
ONOS-4395 Fix NPE in OpenFlowDeviceProvider
...
Change-Id: I88c3671fa490cf978485267a104bf2bcc0f57e58
2016-04-24 21:24:07 -07:00
Ray Milkey
7abe50bafd
Fix unhandled exception during shutdown due to provider service being unavailable
...
Change-Id: I891b2d3c64576fe7cace80ff7907551b46054db6
2016-04-13 19:22:21 +00:00
Brian O'Connor
5ab426f9ff
Updating copyrights
...
New format: 'Copyright .year-present Open Networking Laboratory'
Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Ray Milkey
7c25182db9
Fix buck tests
...
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526
Updating Buck files to build OSGi jars
...
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo
Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
85f28d0a0a
Updating test sources in several BUCK files
...
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Saurav Das
a2d37500d9
CORD-613 Adding ability to administratively enable or disable a port via CLI.
...
Currently uses the OpenFlow device provider to change portState.
Also fixes a bug in PortNumberCompleter.
Adds completion options to portstats for deviceId and portNumber.
Change-Id: Idcce775fe8bc5484fdd0e630bcb5026b85125478
2016-03-30 21:46:43 +00:00
Ray Milkey
f80bbb22c2
Initial BUCK build
...
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Brian O'Connor
955c316b54
Starting snapshot 1.6.0-SNAPSHOT
2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176
Tagging 1.5.0 (Falcon)
2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8
Starting snapshot 1.5.0-SNAPSHOT
2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285
Tagging 1.5.0-rc3
2016-03-09 13:47:32 -08:00
Thomas Vachuska
5d8994ffce
Starting snapshot 1.5.0-SNAPSHOT
2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9
Tagging 1.5.0-rc2
2016-03-03 17:08:36 -08:00
Marc De Leenheer
c662d328f2
SNMP based device and flow rule provider for Lumentum SDN ROADMs.
...
ONOS-3690 and ONOS-3842
Change-Id: If00ba70fa26e01924c225596c52a5ffb24987cc2
2016-03-03 01:01:31 +00:00
Jian Li
7772615948
Remove incoming and outgoing OF message logging from device provider
...
The OpenFlow incoming and outgoing message logging feature has
been implemented in a separated message provider under openflow
provider. So this WIP feature should be removed from device
provider.
Change-Id: I5b974c96688a13ea4ee7af309f9522245f61e413
2016-02-13 00:38:20 +00:00
Sithara Punnassery
81afbf1ceb
ONOS-420 Openflow trigger probe test
...
Change-Id: Ie3c5f89ea76a4d57ba94348a85af2cf57222bd3a
2016-02-12 02:01:57 +00:00
Rimon Ashkenazy
8ebfff047b
Add OTN device and ports
...
Change-Id: I18f3376d1466077e95d7324a27a660302f0123b3
2016-02-09 20:36:40 +00:00
Jian Li
889cffb979
Fix incorrect class and method description for PortStatsCollector
...
Change-Id: I6d16597fed207c2ddfd0fb14848b346d216c6965
2016-02-08 18:32:45 +00:00
Toru Furusawa
72ee30ca50
[ONOS-3730] Populate portSpeed for ODUCLT and OCH ports.
...
Also move the enum definition of ODU client port signal type outside of OduCltPort class.
Change-Id: Ibdff21d9707ad3d79587f579ad675f673cf9afeb
2016-01-13 19:27:54 +00:00
Rimon Ashkenazy
e320103340
Add new OFOpticalSwitch13 LambdaQuery, and corrections to OMS port Desc:
...
- fix OmsPort totalChannels(),
- fix creating OMS PortDescription with correct parameters of min/max frequencies.
Change-Id: I9adbbb4e1e9ebe20ba4b3c2ae23b7a0651af5d66
2016-01-13 19:03:27 +00:00
Jian Li
28247b5e36
[ONOS-3724] Fix the Cbench regression issue
...
Control message monitoring brings some overhead to controller.
In an extreme stressing environment (e.g., running Cbench),
it leads potential performance degradation.
This commit tries to mitigate the Cbench regression with two steps:
1. improve the monitoring performance by assigning more # of
threads in each thread group.
2. make the control message listening feature optional.
Change-Id: I4f7361b7c598c6de71d390eab78a20ada381d4dd
2016-01-11 18:10:03 +00:00
Sho SHIMIZU
00762ee39f
Avoid potential round-off error caused by floating point
...
Change-Id: If1a6266c7a0951441de3fe444663a109bb819056
2016-01-10 03:15:59 +00:00
Sho SHIMIZU
70e76d8bfd
Remove redundancy by replacing values with Spectrum.CENTER_FREQUENCY
...
Change-Id: I42836ca3884bb17304cd05be2b163a906421b5a6
2016-01-07 19:06:06 +00:00