Yuta HIGUCHI
07752ecffa
Attempt to reduce harmless warnings during shutdown
...
Change-Id: I431c9d5944c1655c45c4ece8b39da4fdb108c6f4
2016-06-29 22:49:20 -07: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
6b26610e79
Fixes concurrency bug by using a ConcurrentMap
...
Change-Id: Ib87efe01cb926a3b4c789c9875458ad2ba1b7c8c
(cherry picked from commit 25ba56836827f4c17ced3d9f4148a284c16b9fe4)
2016-06-23 08:49:12 +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
Jian Li
11260a0192
Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
...
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Brian O'Connor
e642f7cf7b
Bumping version to 1.7.0-SNAPSHOT
...
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
lishuai
67574ce79d
[ONOS-4523] Add SetField of ARP_OP, ARP_SHA, ARP_SPA.
...
Change-Id: I48dfcebaddc9149e830a0ad7cc7223fd604c9e8f
2016-05-17 17:48:07 +00: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
Charles Chan
c314294263
Override app_name to make it consistent with maven build
...
Change-Id: Ief3540c3fd90a553d8d2ec31cb65e657022d4bb3
2016-05-06 09:16:53 +00:00
HIGUCHI Yuta
862dcd2cf5
Fix source file permission
...
Change-Id: I72361f30863c49167d4a65660373e86e9283980f
2016-05-04 20:43:28 +00:00
Thomas Vachuska
777dbd7fdc
Adding buck build of the meta openflow app.
...
Change-Id: I56f0ed3776c958680fd046295d0fbd6f18a32c56
2016-05-04 17:31:29 +00:00
heisenberg
d35113e06d
[ONOS-4476]As with Group type is FAILOVER,watchPort&watchGroup does not set correctly When builds the Group Modification Openflow message
...
Change-Id: I344e3b03cd18e16f4e30ceb5b67ce9e55e871876
2016-05-04 17:11:28 +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
Brian O'Connor
be27bb3da3
Updating BUCK files
...
Change-Id: I24f279b42a270e59cf4bf4564e2aa4d81459c8e2
2016-04-29 18:23:19 -07: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
Charles Chan
4211baa138
Fix NPE in FlowEntryBuilder
...
Change-Id: I1675ff7d6604ce289532f6f6e8bf9ebc40935512
2016-04-21 04:12:54 +00:00
HIGUCHI Yuta
d9e0105d79
log uncaught Exception
...
- Use execute instead of submit so that uncaught Exception will
be dealt and logged by ExecutorService's handler.
- Use component's own logger
Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
alshabib
44852fbaed
fix for erroneous unsupported messages for devices with extensions.
...
Change-Id: I63264cd360f260daa4b8a394c9339f1f8c7a1267
2016-04-18 17:13:08 +00: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
Madan Jampani
7a3ba96a35
Turning adaptive flow sampling off by default
...
Change-Id: Ia1501e6b904c8f16656d650761630d60c1e712c3
2016-04-11 17:11:14 +00:00
Jian Li
55cbd5c385
Notify all metric reporters when metric registry has been changed
...
With existing implementation, it is difficult to notify the
metric reports on metric registry changes. With this commit,
we can spontaneously notify all reporters about the metric
registry changes, so that newly added metrics can be automatically
reported to third party monitoring system.
Change-Id: I1273194553900f6bb03e2ef6bb1b54838af1da00
2016-04-11 17:08:19 +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
Jian Li
a371e7ad25
Resolve NPE during control message aggregation
...
Change-Id: I1945a3ec23fbe6c54af53845b89f489fa9857605
2016-04-08 01:00:45 +00:00
Brian O'Connor
1f1659868c
Generate onos_app rule
...
There are three genrules:
1. Build features.xml
2. Build app.xml
3. Generate app.oar
Change-Id: I6adfd47fadf40ad2440998071a01894458629ac6
2016-04-07 15:33:32 +00: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
Jian Li
ffef500b4a
Remove redundant extensionTreatmentInterpreter support check
...
Change-Id: I1bcaefcdf8f97a7bed4916734142cabc04f566e4
2016-04-06 17:38:49 +00:00
Brian O'Connor
85f28d0a0a
Updating test sources in several BUCK files
...
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Jian Li
daf55eadaf
Add resource name into MetricsDatabase, handle exception gracefully
...
Change-Id: Icf19965a0fcbfd9696c42b12c32441fd3b161734
2016-04-06 01:57:56 +00:00
Ray Milkey
ada9e2d9de
Don't crash if a message is processed after the provider service goes down
...
Change-Id: I098cebaffdd8d80bca640fe29b746c91b75689ac
2016-04-06 00:01:24 +00:00
Brian O'Connor
284fb69b0d
Updating BUCK files to match pom.xml changes
...
Change-Id: I7fb4bf2acdc2a8933f1037fdbdb6b6ca00ffff1e
2016-04-04 19:28:47 -07:00
Brian O'Connor
01ac79ec64
Updating onos-of-api
...
We not longer shade openflowj in onos-of-api, instead we used an
OGSi-compatible version of it.
Change-Id: If083c355f441783de3790d3e87ca824f386cccd8
2016-04-05 02:27:59 +00:00
Ray Milkey
0ae473d4fc
STC fixes
...
- NPE when a switch has already been removed and an attempt is made
to access stats on the switch.
- NPE in group provider if the system is in the process of shutting down.
- Lower ERROR to WARN when switch resources are not available.
Change-Id: I5b90ff328b19c2d661fde3a24e90614999c4c900
2016-04-04 21:37:33 +00:00
Jian Li
7ceb7b024a
Bugfix: filter out msg type other than pkt-in, flow-mod, stat-rep
...
CPMan only deals with PACKET-IN, FLOW-MOD, STATS-REPLY types for
incoming control messages. With other message type, it throws
NPE. This commit tries to fix this problem.
Change-Id: Iedd264030e404b14d15e33907e082c3d73608baa
2016-04-04 12:42:40 -07:00
Thomas Vachuska
95caba3459
Fixing OF flow and group provider run-time dependency.
...
Change-Id: I25fa3c72ab01500c39fc90198abc4c383a9512a2
2016-04-04 10:42:05 -07:00
Jian Li
a0d9a17352
Remove duplicated treatment building from GroupBucketEntryBuilder
...
Change-Id: I0f956dd11d990209eb3dc00c866dd535843506ea
2016-04-04 16:51:39 +00:00
Jian Li
d416388566
[ONOS-4245] Support resubmit experimenter action for nicira driver
...
Change-Id: I7beac62d5c23fb8e2fe7d7d23947c55fbb849064
2016-03-31 17:24:25 +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
Jian Li
a1d7f27d7e
[ONOS-4142] Restart failed tasks when using SharedScheduledExecutor
...
With current SharedScheduledExecutor, all failed tasks are simply
suspended in background. This commit enables tasks that are
executed using SharedScheduledExecutor to have the ability to
be restarted even if the tasks are encountered failures.
Change-Id: Ibe00c7f5920b8ae3fe5a433a6f9ec08684d88f36
2016-03-29 00:41:09 +00:00