198 Commits

Author SHA1 Message Date
Brian O'Connor
21b028e526 ONOS-2890 Deactivating apps removes other apps' packet processors
- Reworking store commands to use compute for updates
- Trigger add/remove to devices on map events

Change-Id: I33391435945c1775a9ef0cdc83920fc1cadfd658
2015-10-09 20:50:11 +00:00
Brian O'Connor
7664e7de2a Adding NOACTION to EncoeInstructionCodecHelper
Change-Id: I5c85a934df552b8d0bfcc2d6f4fa19a5aa0f8ce7
2015-10-09 00:58:56 -07:00
Brian O'Connor
b75a67a009 Updating DefaultTrafficTreatment
- Updating EMPTY treatment to contain NOACTION
- Remove NOACTION when building treatment from existing treatment
- Putting NOACTION into immediate set if no actions exist

Change-Id: I408b6b8daf2a3d38604a900c09d7c15cc3994757
2015-10-07 15:33:09 -07:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
Sho SHIMIZU
2581e1893b Remove constructor deprecated in Cardinal
Change-Id: I116c96373cbbf2d12770d7146d984d307d2859a4
2015-09-25 18:41:35 +00:00
samanwita pal
c40e5ed5ba ONOS-2926 Remove IP instead of host when the IP mapping is released
Change-Id: Ifea3366ce8a18ea068e615636b3069e769221c0e
2015-09-25 01:51:31 +00:00
Sho SHIMIZU
a5beadcafd Remove optical related APIs deprecated in Cardinal
Change-Id: I0e428039cc99247d1bfe6493a926ebac0adb1ebc
2015-09-24 22:34:51 +00:00
Thomas Vachuska
48e64e4b5b Cleaned up the SRLG and disjoint path code and naming.
Change-Id: I02b6fe5ee1e3f5eadc4e88800386a23349ee5e58
2015-09-23 16:41:43 +00:00
Nikhil Cheerla
2ec191fa98 Disjoint Path Utils Exposed
- to TopologyStores
- to TopologyServices
- to PathServices
- to REST API

Change-Id: Ib2b5840df0f8e94f327ec8f91827d3d850634562

Change-Id: I03e59210e9c79c4f92dcfa8c7983642572708429

Change-Id: Ia5c17d1ded374ef688990bd30e7f99184aaca95b

Change-Id: Ibebae50bc722701e8212263587727ad8abd79805
2015-09-22 14:29:19 -07:00
Nikhil Cheerla
1cf0f9a41f [Emu] Disjoint Path Utils Exposed (to DefaultTopology)
Change-Id: I1d59d7a5a89618bd7419f00a0da674e87fe9bdb3
2015-09-22 13:45:18 -07:00
Brian O'Connor
f107bd7193 ONOS-2947 Improvements to HostService
- Added ability to replace IPs for existing hosts to HostProviderService
- Moved createOrUpdateHost to use compute() (rather than get/set) in HostStore

Change-Id: I8ac035d010ae65f23158d2237f9fc97c8f811dd4
2015-09-22 00:41:03 +00:00
Thomas Vachuska
7f171b2ce9 ONOS- 2946 Adding ability to view existing packet intercept requests and packet processors.
Change-Id: Id0d82fb4a19506ec607a71856dbf0c33c8e51baf
2015-09-22 00:40:11 +00:00
Jonathan Hart
46080b6834 Remove all address bindings code from Host subsystem.
This has been superseded by the InterfaceService.

Change-Id: I8aae4cfe00752a84e545a1030c199aea8b59da38
2015-09-21 20:57:13 +00:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Sho SHIMIZU
7462641ac8 Use lambda expression to simplify statements
Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
2015-09-15 06:13:13 +00:00
Sho SHIMIZU
feafdca535 Simplify lambda expression by removing braces
Change-Id: Ifb8d1a3e465fc8de9737a8834ceb07c89dfb8029
2015-09-14 16:40:48 +00:00
Sho SHIMIZU
25a0aa4a96 Remove explicitly declared Object in type parameter
Change-Id: I62c1565e61500648ad0e2c209840c5cb44c5f5d0
2015-09-14 16:32:47 +00:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Sho SHIMIZU
7a4087bd92 Use diamond operator
Change-Id: I9bb7e90ce7f45e65b4081a5bf85570b97e44712e
2015-09-10 16:56:23 +00:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
Ray Milkey
be539dbd88 JSON for flows should return the app name, not the app ID
Change-Id: I12d217b07bffb59615dfeefd40242f01669989c2
2015-09-04 18:26:56 +00:00
Changhoon Yoon
b856b813b5 ONOS-1767 SM-ONOS implementation
22a363e ONOS-17767 SM-ONOS impl

Change-Id: Ifca8129f2266bada68af735cf81a1d39f1ec8506
2015-09-04 18:09:49 +00:00
HIGUCHI Yuta
04b49fc898 Deprecate ModMplsLabelInstruction#label()
Change-Id: I1324747adaa8ccb28077aa14b208df1083f39a3f
2015-08-28 18:08:12 +00:00
Hyunsun Moon
fab2950441 ONOS-2578 Added codec for mod tcp/udp port instructions
Change-Id: Iab1eac26afe47e0b1c13ce94e152826b0828e455
2015-08-25 22:30:27 +00:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Dusan Pajin
11ff4a8fc3 Delta Port Statistics added to DeviceStore, Device Service and CLI
Changed misspelled word in description of the portstats command switch

Change-Id: I131940c83c5cb12080532a4804ec424ca66afa64
2015-08-21 17:46:12 +00:00
Hyunsun Moon
7080a0d126 ONOS-2581 Add codec for tunnel id
Change-Id: I6ff456b0419b427945cc53fb74fd0a91cdfa758e
2015-08-14 19:19:33 -07:00
Thomas Vachuska
b2c47a771a Adding ability to synchronize topology clusters' broadcast trees.
Proxy ARP now supports deferred ARP replies until instance learns of the subject host location.

Change-Id: Ib3ee97c0812858b5b4972d945e9e6d2bd397d4c5
2015-08-06 17:38:02 +00:00
Thomas Vachuska
320c58f38d Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
Change-Id: Ie0e38dbf812bafdb7c94bba5278f0dd9af5be929
2015-08-05 10:55:11 -07:00
Thomas Vachuska
930a8ee16a Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
Change-Id: I4461b6f1c8ae60d39f5da909bf6995294cbfa84d
2015-08-05 17:43:11 +00:00
Thomas Vachuska
8044c094f6 ONOS-1679 Removed use of /tmp directory from various unit tests.
Change-Id: I1725f3807f51bc44756d90b5e41ae7fa3c56c55f
2015-08-04 18:20:37 +00:00
Madan Jampani
565a66afbb Bug fixes/improvements:
1. DeviceManager must not have a dependency on DeviceClockService. Clocks and Timestamps are purely distribution concerns.
2. Eliminated DeviceClockProviderService which merely served as a cache for mastership terms thereby introducing a source of staleness. Now we directly query mastership service which is already optimized for high volume reads.
3. DistributedLeadershipManager fix to ensure election won by local node immediately reflects in the local leaderboard. This is to ensure a subsequent read does not return a stale value.

Change-Id: I774b64923e382b788df5f8bde2a9fafc0294bad0
2015-08-01 16:44:57 +05:30
Thomas Vachuska
42e8ccead4 Adding some base-classes to eliminate event and listener boiler-plate code throughout a number of subsystems.
Refactored all core components to take advantage of this; apps remain to be done.

Change-Id: Ib0935ba07ff81b0fa032534004ec9ac6187cbf22
2015-07-30 17:30:43 +00:00
Ray Milkey
f7cb401b6b Fix ONOS-2090 - Improvements to Intent JSON
- Intents are now identified by the name portion of the appId rather than
  the number
- removed the now useless "details" field which had a toString()
  dump of the intent for when we didn't support all intent types
- Single Intent GET operations now accept a decimal or hexadecimal
  value for the Intent key.

Change-Id: I39d635e68cccf2e59d0d11307b93329a2dc0bc96
2015-07-21 22:21:28 +00:00
Ray Milkey
b9af946649 Implement REST APIs for link flow statistics
Change-Id: I65ca3cec9dd1771a70811afd319619827f7b9010
2015-07-20 16:38:05 +00:00
Ray Milkey
6d7968e5a8 Refeactor codec helper classes
Change-Id: Ic980293f5df97ed74a73fc54e3dcb197658264f5
2015-07-06 21:58:27 +00:00
Ray Milkey
b82c42b0fe Implementation of REST POST API for creating intents
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method

Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Kenji HIKICHI
5448d464e5 ONOS-1680: Close InputStream explictly to delete the opened file reliably.
Change-Id: Iae1a57da007eb50bdf024f4acb73aebb96de7888
2015-07-03 18:24:49 +09:00
Sho SHIMIZU
9553bb88b3 Make TrafficTreatment.Builder.setLambda() deprecated
It is recommended to avoid to use a raw integer value to specify a lambda.

Replace uses of the deprecated method with the alternative

Change-Id: I108f0d15f4503df2a6a75c4f7c77aa0c678ff541
2015-07-01 02:18:07 +00:00
alshabib
7b808c5e15 small fixes to ethtype pattern
Change-Id: Ic58c426821952f66aa21bc828d36fd4f83d8da0d
2015-06-29 15:24:35 -07:00
alshabib
caf1ca2b1d adding EthType to secure handling ether types
this will also pretty print ethertypes in flow output

Change-Id: I9363070ad308f3c756735e29b3992c500e503636
2015-06-26 13:44:55 +00:00
Ray Milkey
85571ebe26 Remove deprecated Lambda instruction builder method
Change-Id: I77dba40e174308744617e413cb517de440f1093e
2015-06-26 13:35:08 +00:00
Ray Milkey
eb5c7177bc ONOS-2144 - Complete implementation of REST API for flows
- URL for creation of a single flow is now /flows/{deviceId}
- On successful creation of a flow, Location header contains
  a reference to the new object's URI
- POST operation returns status code of CREATED
- implement DELETE operation for /flows/{deviceId}/{flowId}
- removed deprecations and warnings from REST API unit
  test for flows.

Change-Id: Idb43a651a659e60c07a6f36dfd69004c814b146b
2015-06-25 09:11:43 -07:00
Thomas Vachuska
27bee09007 ONOS-2145 Added ability to withdraw packet intercepts via PacketService::cancelPackets.
Change-Id: Ie41271fa02740560bd67b0faf49f633ee749773c
2015-06-23 19:03:10 -07:00
Thomas Vachuska
c97aa6110e ONOS-1793 Moved trivial stores to onos-core-common/src/test; onos-core-trivial is no longer.
Change-Id: Ie4824db36e3a7eb6db3b953ee1f2786d3e22194f
2015-06-23 23:39:49 +00:00
Thomas Vachuska
e18a330163 ONOS-2091 Installing app when already installed will now raise an error
Change-Id: I4dacd63bf4a99244b23b932d35dd9cbd088548c1
2015-06-23 22:22:11 +00:00
Thomas Vachuska
ad35c34af3 Fixed application descriptor parsing.
Change-Id: If4fa4ecc66d0ed2a42e8b240d0e3142340d544eb
2015-06-12 01:08:57 +00:00
Ray Milkey
d43fe45f42 REST API to create flows
Change-Id: I5d001782249c0eab249d7aa857ae465da95b5955
2015-06-11 21:45:28 +00:00