Pavlin Radoslavov
ab8553a52a
Fix a bug: there are two ECN bits in the IPv4 header, not three.
...
Change-Id: Ibdfce817f2a506644e0f9cd16f46cf6ab1f75eb7
2015-02-20 14:13:50 -08:00
Ray Milkey
144eec5207
Fix Javadoc warnings
...
Change-Id: I366f2b9f3c11645a3392e0689619bfbad7a9eedd
2015-02-20 20:54:26 +00:00
Yuta HIGUCHI
6a47964aad
Instruction related fixes
...
- Removed redundant equality check. (ONOS-975)
- Enforced using Instruction Factory methods.
- cosmetic fixes.
Change-Id: I178b55f8568c1a9132f0aa88465b8b34dc2b2df2
2015-02-20 19:12:19 +00:00
Brian O'Connor
be28a87c0e
Chaning IntentStore.isMaster to take a key
...
Change-Id: I2d04a6aa7418e06137b0688bcb4e3af060a02b63
2015-02-19 21:50:20 -08:00
Ray Milkey
71ade56cbf
Refactor Intent subsystem to eliminate using FlowRuleBatchOperation
...
Change-Id: Iee76dac5fa9935713ffc370b34ac47d9286ff351
2015-02-20 00:59:03 +00:00
Brian O'Connor
4e6c17d2b9
Fixing hash for Intent keys
...
Change-Id: Ie7807d95b3e58f2e79c6127251ef355b77ba05ff
2015-02-19 12:00:26 -08:00
Thomas Vachuska
ecb63c5a01
Updated accumulator documentation and refactored names to remove the event heritage.
...
Change-Id: I2238ab1215281702e670a406fb901ba8a4ef85ce
2015-02-19 18:26:00 +00:00
Thomas Vachuska
62ad95f3f1
Added ability to upload apps as both app.xml or app.zip.
...
Added a number of app.xml files for built-in apps.
Added ability to install & activate in one command.
Change-Id: I3fa5fa487ef76d9fe3da4d6dce8045d538cba423
2015-02-18 21:33:52 +00:00
Ray Milkey
024798622b
ONOS-1058 - Add application Id to intent withdraw command
...
Change-Id: I6f660f2e115e4acc9d3c7d1ab2e2115caaf1822f
2015-02-18 19:09:03 +00:00
Ray Milkey
da36c40e9d
ONOS-1057 - Remove references to deprecated applyBatch() method
...
Change-Id: I9215fde6be2acaa2becea58d8b6e5b171ff16817
2015-02-18 18:59:48 +00:00
Jonathan Hart
90a02c2539
Moved routing/bgp config into common routing bundle.
...
This allows the configuration to be used from multiple applications.
* The class that reads the configuration file is now a service so that
config can be consumed by components in other bundles.
* Name of config reader classes has been generalized to RoutingConfigService
* All config has been added to RoutingConfigService, instead of having
two service interfaces like we did previously
Change-Id: Iaec9daf0f5b72abe2d6709fb75188d6d81947478
2015-02-18 18:52:35 +00:00
Thomas Vachuska
8ab196c409
Fixing some javadocs.
...
Change-Id: Id4a1097c0f210d5c550d4b166437b82c03a8887d
2015-02-18 18:40:41 +00:00
Hongtao Yin
36f79aa93b
Updated calendar server code. Added intent for bi-dirctional path. Added latency as one more parameter in constraints.
...
Added exception catch for parsing parameters.
Fixed Jenkins checking errors.
Use intent key and 2way intent P2P setup.
Change-Id: Ib2bd25deb793b2a34179cbf8794ca5aa3e427f91
2015-02-18 06:29:22 +00:00
Madan Jampani
64689559d7
WIP: Revamped transaction API. Introduces a transaction context for running blocks of code that can be committed
...
atomically.
Change-Id: I6ba21050a2644a42f3c073fa04ff776ef2c5ff4c
2015-02-18 00:22:57 +00:00
Marc De Leenheer
b473b9dd2d
Injecting topology through JSON ConfigProvider works for multi-instance (ONOS-490).
...
Change-Id: Ib977f4cf9a59ddec360072891fd803c6f9ee84f1
Injecting optical device annotations and ports works for multi-instance (ONOS-870).
Change-Id: Icdde16ef72fc4e47eec7213250b04902083f0537
2015-02-17 23:55:59 +00:00
Madan Jampani
2546111a36
Added copy right headers.
...
Change-Id: I3a42d1af23f4afb8d584c788ade026c3ed8db0e5
2015-02-17 14:23:51 -08:00
Pavlin Radoslavov
3ebe170d87
MPLS-related bug fixes:
...
- Use subtype() instead of type() inside method
ModMplsLabelInstruction.toString()
- Check whether the MPLS value is negative inside the MplsLabel()
constructor.
Change-Id: I770194774219f0c919474928803e078226f2005d
2015-02-17 21:13:24 +00:00
Madan Jampani
e97fec4ffb
Remove deprecated code.
...
Change-Id: Ifd68e4ddfaade2a8dd7de43a83bf222b48b9291b
2015-02-17 21:03:09 +00:00
Ray Milkey
f7329c77eb
Remove some deprecated APIs and warnings from BatchOperationEntry
...
Change-Id: I44daf9646f6d2a60fd7c0ce96d6692ab8a9cdda2
2015-02-17 20:53:41 +00:00
Hongtao Yin
142b758ba3
Initial implementation: The init extended flow rule and store interface APIs
...
The APIs are for supporting service data to install on network devices.
This is related to JIRA ticket ID ONOS-869.
Updated API code and added implementation code files.
Modified API for supporting payload abstruction, and added routing mechanism for pushing flow rules to devices.
Added more javadoc, and fixed some minor issues.
Updated javadoc, removed unnecessary method, and test code.
Change-Id: I105defc92a9e01b30601fcb56a9dafa086d4adc0
2015-02-17 11:29:03 -08:00
alshabib
9af70070c8
support for corsa pipeline. EXPERIMENTAL.
...
Change-Id: Ic3db0a7a18f11c41c8a84f25a249dfb63109da97
2015-02-17 18:48:00 +00:00
Srikanth Vavilapalli
ed12ae5e81
ONOS-985: Sample integration test application for group subsystem
...
Change-Id: I68352f922e5c7a0800fcc4fa839955769bf925a6
2015-02-17 17:58:49 +00:00
Sho SHIMIZU
c4ebc717a0
Avoid unnecessary instance creation in hashCode()
...
Change-Id: I9967020cfa80c616909932181be7e3b6862c3757
2015-02-14 10:08:06 +00:00
Michele Santuari
4b6019e449
ONOS-631 #Initial MPLS intent implementation
...
Change-Id: I6f906b953f06f395cc67e612648802e333c0e581
2015-02-14 10:00:48 +00:00
Brian O'Connor
e2eac102fc
Using replace instead install when there is already an intent
...
Fixes the problem of flows being left on the data plane
Change-Id: Iec3db8b460123f2744a57d8c08d14c8effe9ec34
2015-02-13 14:16:23 -08:00
Jonathan Hart
9288836389
Return null instead of throw exception for invalid event states.
...
Change-Id: Ie40ca4dc1c241aa4f27652aa4e8b3f99eb924169
2015-02-13 14:16:23 -08:00
Jonathan Hart
2085e0751a
Removed deprecated IntentStore#batchWrite() API.
...
Also javadoc fixes.
Change-Id: I4ccd109a22189f4762afec15a719e42a3b9e4f7b
2015-02-13 14:14:00 -08:00
Ray Milkey
8010bb48a6
Unit test for IntentData class
...
Change-Id: If98b737b4ddd92ebfb8b2a35ad5d80984b0e681a
2015-02-13 14:13:59 -08:00
Ray Milkey
9f74c08c6b
Fix intent manager unit tests
...
Change-Id: I4bdde294a6cd181d3acf9218824645714c227bae
2015-02-13 14:13:53 -08:00
Jonathan Hart
5ec32ba0f3
Finished implementation of GossipIntentStore based on new API and semantics.
...
Change-Id: I1a71d075e5d34ab7b9f7c2533d389235d6da1d9a
2015-02-13 14:13:52 -08:00
Jonathan Hart
d0ba217c33
Fix javadoc issues
...
Change-Id: I68b5e8feba625104f9a5c9eb62a56654ddea0516
2015-02-13 14:13:48 -08:00
Ray Milkey
abbdcb7761
Unit tests for intent key class
...
Change-Id: I691b37f1df331e72fcbd1eec356e37547385dcf5
2015-02-13 14:13:22 -08:00
Ray Milkey
4f5d93e992
Fixes for ObjectiveTrackerTest and IntentServiceTest
...
Change-Id: I10acda2220c2012e0aa07493c2dc91b1a6a81109
2015-02-13 14:13:21 -08:00
Ray Milkey
3af1386461
Keys based on longs should display in hexadecimal
...
Change-Id: I45d826a4e8c24271d6689f9438d5eca78f557241
2015-02-13 14:13:21 -08:00
Ray Milkey
65cb59ab2a
Add toString() method to IntentData for debugging
...
Change-Id: Ie7787b87df17edf342233980431d87fbb01568c7
2015-02-13 14:13:21 -08:00
Ray Milkey
5ad3966707
Fix bug where the values of keys could change
...
Change-Id: I34993c413c3f928690701a055ec38c1e7029b473
2015-02-13 14:13:19 -08:00
Jonathan Hart
4fd4ebb9d0
Continue updating GossipIntentStore to new API.
...
Includes changes to ECMap to support generating timestamps based on values.
Change-Id: Ide55979aaa4f7757e67a6b3efed6e51d45ee318c
2015-02-13 14:12:30 -08:00
Brian O'Connor
2ba63fdba0
Adding version stamping/checking to SimpleIntentStore
...
Change-Id: I08c0bf5e0f5a89275a72fa0900e52ca996942b79
2015-02-13 14:10:56 -08:00
Ray Milkey
f9af43c2ea
Refactoring of IntentId based APIs
...
- getIntent
- getIntentState
- getInstallableIntents
Change-Id: I6d2073dfa165e0e5adcef46fe5908b563b481a43
2015-02-13 14:10:55 -08:00
Ray Milkey
c357381fc1
ONOS-989 - Add key to toString() methods of intents
...
Change-Id: Ic82b25e26ab7fb767f3ca571ef7594679c501ba5
2015-02-13 14:10:48 -08:00
Brian O'Connor
7775bdaa09
Intent F/W improvements
...
- aggregate installables into FlowRuleOperations
- added some impl. to SimpleIntentStore
- created Coordinating State
Change-Id: I5b26ec1fdb7aaff9d5da4f21b2d5a249568ac5ac
2015-02-13 14:10:48 -08:00
Ray Milkey
5b3717ea46
Add keys to intents
...
- use Key class rather than String for intent keys
- add CLI option to specify a string key
- add key field to constructors for connectivity intents
- translate id into a key if no key is specified
Change-Id: I69ffbad93bc3daddf06a67cb0cffa2130e781b37
2015-02-13 14:10:47 -08:00
Brian O'Connor
055fb975c9
Adding Key class for intents
...
Change-Id: Ib6e586bcc938e062de0b1d6c92e3b885334a4769
2015-02-13 14:10:47 -08:00
Brian O'Connor
0e271dc6d2
Refactored intermediate IntentUpdate classes
...
Change-Id: I3d4a435ef4aa97559d5407d49f45519098c3f193
2015-02-13 14:10:47 -08:00
Brian O'Connor
db15b04081
started work to parrallize compliation and "installation"
...
Change-Id: I2e7f03b9f8074ef6f9e1c186009ed3cad6980b49
2015-02-13 14:10:46 -08:00
Brian O'Connor
098da072fe
fixed typo and undeprecated a method
...
Change-Id: Ia15c4df9978ac66d4cd5288f9462d3238958893e
2015-02-13 14:10:46 -08:00
Ray Milkey
2468502d4c
Removed deprecated intent operations
...
Change-Id: I2ca316dab4c1ac1a66fb4ddf101c4adf3302dcd2
2015-02-13 14:10:45 -08:00
Ray Milkey
2da272b94e
Removed deprecated classes/interfaces
...
IntentBatchLeaderEvent
IntentBatchListener
IntentBatchService
Change-Id: I712f0eb0b26d9bfaa820a14022c1dd30943fab27
2015-02-13 14:10:45 -08:00
Sho SHIMIZU
4931ee5dc6
Delete unnecessary semicolon
...
Change-Id: I2eaa4d900342a665f6dc4731a298b30a9ec40696
2015-02-13 14:10:41 -08:00
Brian O'Connor
03406a4702
IntentStore interface changes
...
Change-Id: Ifa8728fb4c7edcc6d58a5e071f7252493ab2a578
2015-02-13 14:07:52 -08:00