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
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
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
Rimon Ashkenazy
d15ebf5275
Fix RuntimeException of 'Un recognize OduClt speed'
...
Change-Id: I86a1d399206b8d260a8f9fa53da0ffa16f73ff6d
2016-01-07 17:51:30 +00:00
HIGUCHI Yuta
1979f55af7
Bug fixes for ONOS-3509
...
- Forwarding behavior added to {Device,Link}Store by ONOS-490
cauesed false update information sent from ONOS node, which has been detached from the cluster,
to be accepted by rest of the cluster after the detached node has rejoined cluster.
- Fix for periodic mastership check was left out
when MastershipService#requestRoleFor(..) return value was changed to Future.
- Fix for triggerProbe() related messages getting dropped,
right after STANDBY -> MASTER role change.
- Local state (connectedDevices) was preventing
vertical (Core -> switch) Mastership state synchronization.
- Various debug log, comment added during investigation.
Change-Id: I777beadf04db8a879830a07bfdc7ab0e2279f190
2016-01-06 09:12:33 +00:00
Jian Li
152b88508a
[Falcon][ONOS-3537] Implement control message collecting logic w/ unit test
...
Change-Id: Ic21d476a5ad92d7ef739fa3c13dcc06e5cbf7c56
2016-01-04 18:50:06 +00:00
Charles Chan
25b7732c10
Fix port speed
...
According to OF 1.3 spec, the unit of current speed should be kbps instead of mbps
Change-Id: I68f30f551afd6c8a8030e0a817ff009595113a84
2015-12-15 03:50:29 +00:00
Madan Jampani
52bb4856a7
Do not disconnect from switches on deactivate + packet requests cli command update to include nodeId in the output
...
Change-Id: Id19715a2cec9b44431993fefdda9fe51956978cc
2015-12-11 15:57:27 -08:00
lishuai
4ee42040fa
[ONOS-3486] Add the annotation of port mac when monitor switch added.L3
...
flows need external port mac information.
Change-Id: I9afed351bd8d1641b8e9bef88718ec5c0ded8b5d
2015-12-05 05:17:10 +00:00
Lei Xu
dee1aff0e0
[emu][onos-3159] fix concurrency flaws in OpenFlowDeviceProvider.java and OpenFlowGroupProvider.java
...
Change-Id: I76b21b221d3ef71e1701c13810c4df374afe1776
2015-10-19 18:52:04 +00:00
Thomas Vachuska
fa8aa2f188
Fixed an NPE in device manager/provider.
...
Change-Id: I0240bc6f591881efefc1043eb620068d6ab2d9a4
2015-10-14 01:47:31 +00:00
andrea
fe3308fa13
minor formatting changes
...
Change-Id: I361955b820489793ffb8f6b9b9ff24d429e1dd99
2015-10-06 23:20:00 +00:00
Thomas Vachuska
d07c092025
ONOS-1636 Added code to mark devices offline when openflow provider is deactivated; fixed a few NPEs.
...
Change-Id: I5f0e90b14bf1f00abd58e12590a3339b93695122
2015-10-06 22:11:52 +00:00
Yafit Hadar
a9a73def6a
[Emu] Open Flow Optical Port Description
...
Change-Id: I8da4d7a1e1dea18d56cba9673f70b1ec69a5adcf
2015-09-23 16:43:35 +00:00
Marc De Leenheer
fc913dd2f7
LINC driver and OF device provider report correct optical port types
...
Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
2015-07-31 15:30:04 +00:00
Marc De Leenheer
b931137eb6
Driver and flow stats handling for Calient fiber switch S160.
...
Bump loxigen to 0.4.1.onos-SNAPSHOT.
Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Dusan Pajin
bab8a5e7f8
Configurable Port Stats Collection interval
...
Change-Id: I4999338ecf1c608f93b66ba979126b2a5deda165
2015-07-24 17:41:01 +02:00
Srikanth Vavilapalli
78baf58cff
Segment Routing ONS demo fixes: Includes traffic visualization fix
...
Change-Id: I5119271464b696fd145c6b63bee09d7f3ef109bd
2015-06-05 21:00:20 +00:00
Thomas Vachuska
4e6025e48e
Fixed potential NPE in port-stats.
...
Change-Id: Id3cc83b0ca914223f2cf267605c29cc2093c313f
2015-06-03 11:25:21 -07:00
Thomas Vachuska
711db55d75
Fixed ONOS-2051 by eliminating treatment and priority from flow id/cookie.
...
FIxed NPE in port stats collection.
Change-Id: I30954d31c39be959e84fa74f1c4e781d5767f303
2015-06-02 16:35:26 -07:00
Thomas Vachuska
74bcd92c75
Added STC shutdown scenario.
...
Change-Id: I48b882c872f69fdd84fe2fd057163e68ffb58012
2015-06-02 20:17:57 +00:00
Madan Jampani
c3328768e7
Removed dead code + Dropped log level down to debug to reduce verbosity
...
Change-Id: I565775261a63b391011e1b341903390a9f26b6a6
2015-06-01 01:23:37 +00:00
Thomas Vachuska
893bf4b142
Fixing OF device provider to accrue all port stat multi-part messages before pushing update to the core.
...
Change-Id: Ib5792ffbf4be2e50e30ab6ed14149337b7e545d6
2015-05-29 18:13:18 -07:00
Thomas Vachuska
f0397b5b81
GUI -- Added port-statistics traffic visualization to the topo view.
...
Change-Id: I52b3c1739cc50a026c0796819d61ec1898937ced
2015-05-29 20:56:08 +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
Ayaka Koshibe
ae541737d4
Linc-OE ports now identifiable as Och and OMS ports.
...
Reference: ONOS-1803
Conflicts:
utils/misc/src/main/java/org/onlab/util/Frequency.java
Change-Id: Ie2bdf74f8198afbd58a4762ff97bff6f4e9010df
2015-05-19 23:36:04 +00:00
Thomas Vachuska
fc52fecc3b
Fixed a slew of shutdown exceptions that arose due to improper or out-of-order resource clean-up, e.g. listeners, timers, executors.
...
Change-Id: I37c351c4202b32e92c076d9d566b96d7ff8d313a
2015-05-19 17:56:49 +00:00
Ayaka Koshibe
5460d62464
Interfaces for passing port information from OF switch drivers to DeviceProviders.
...
Change-Id: I14039f5999c930a211c30138caf81c0513d398e2
Reference: ONOS-1911
2015-05-14 23:31:43 +00:00
alshabib
b452fd7d71
Low level openflow drivers have been promoted to the driver subsystem.
...
All new device drivers should provide a handshaking behaviour as well
as well as a pipeline behaviour.
Change-Id: I883830b074e5d254a8cc6100e6c4fa0023594a36
2015-05-06 01:00:17 +00:00
Thomas Vachuska
b52a014a46
GUI -- Added ability to display port names in the devices view detail.
...
Change-Id: Iffaf3b46099f868b7245fe0c7819d13e5bff76d3
2015-04-22 00:56:43 +00:00
Ray Milkey
34c959066d
ONOS-533 Fix copyrights
...
- Any files created in 2014 and modified in 2015 got a copyright of
2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
Some files had 2014,2015
Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
2015-04-15 17:41:07 +00:00
sangho
538108bae8
ONOS-1440: Implements port statistics feature, which polls port statistics of all devices every 10 seconds. Also, implemented a simple portstats ONOS CLI command to show the statistics.
...
Change-Id: I57e046ae2c2463a58b478d3a5b523422cde71ba2
2015-04-09 22:43:41 +00:00
Saurav Das
fa2fa93ff8
A set of fixes to ensure that the FlowRuleManager can correctly account for flows
...
from the dataplane in a multi-table pipeline scenario
Change-Id: I9ca3ef9a77781f126a13538647c824b27f77101c
2015-03-04 02:25:39 +00:00
sangho
11c30ac6d3
Add a new method sendMsg(OFMessage msg, TableType type) in OpenFlowSwitch interface to support multiple-table aware FlowRuleService.
...
Other changes are caused due to the new method.
Add type() in FlowRule interface to determine the table in which the flow rule need to be set.
Change-Id: I6518a01f4a5fba23f09f70b619f3844b5e33ce8f
2015-01-29 09:35:06 -08:00
Ray Milkey
e53f171fa9
ONOS-535 - capture and display ip address and port of switches
...
Change-Id: I1671113b35853e258986568cec3a385c281e1147
2015-01-16 22:23:56 +00:00
Ray Milkey
e0fade7785
ONOS-539 - Capture port names so CLI can display them
...
Change-Id: I40b24c401c782a452a66c081623f5bba5ea5c9af
2015-01-16 22:19:59 +00:00
Ray Milkey
d3edd037a1
Fix a typo in manufacturerDescription() method name
...
Change-Id: I8f95c6c0aa1ac6c59644828ddf2b82eea4c380a3
2015-01-16 11:38:58 -08:00
alshabib
4785eec529
removing some TODOs
...
Change-Id: Ic98c811573a1b37813993eedddec512ec85729f3
2014-12-05 00:59:35 +00:00
alshabib
fd629e8584
Devices should not be disconnected when an instance shuts down.
...
Change-Id: I0864c1f79b52e021c4ebbcd3a5bdb3eb7c3f1614
2014-12-03 21:39:32 +00:00