701 Commits

Author SHA1 Message Date
Sho SHIMIZU
6a2952909a Add missing @Override annotation
Change-Id: Id6bf4bd0ef9a9094ea5523b2df8ecdaee365ee50
2015-02-13 14:10:47 -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
0e271dc6d2 Refactored intermediate IntentUpdate classes
Change-Id: I3d4a435ef4aa97559d5407d49f45519098c3f193
2015-02-13 14:10:47 -08:00
Sho SHIMIZU
5f281a45e4 Refactor: rename "ops" to "data"
Change-Id: I92fc471e545e880d90079923c47c405b29853ed2
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
Sho SHIMIZU
5cb438e386 Pull out inner IntentUpdate sub-classes from IntentManager
Change-Id: Iefec2e3d5929d0e85e40bee24ba4fd0679c13b19
2015-02-13 14:10:46 -08:00
Sho SHIMIZU
8d9d136bd2 Extract a method to create a list of FlowRuleBatchOperation
- Define FlowRuleBatchOperationConvertionException, which is a
  new IntentException sub-class

Change-Id: I798303fa986f573c885b8712ac1dfee1bcaadf95
2015-02-13 14:10:46 -08:00
Sho SHIMIZU
c708f3b4af Remove CompilingFailed because it does nothing
Change-Id: Ibeb244d0a9ebfbf019bc72e1efeacb73c3140cb2
2015-02-13 14:10:46 -08:00
Sho SHIMIZU
46f48fb7e9 Change the return type of IntentAccumulator.reduce()
Change-Id: I31b57537c800e1599f19e4c0a4156db9df0406af
2015-02-13 14:10:46 -08:00
Sho SHIMIZU
946913c275 Remove calls of IntentStore.batchWrite()
We are changing the write behavior to IntentStore, then
calls of IntentStore.batchWrite will be replaced.

Change-Id: Id9685d5631fea02f1d2ef30e12c503c7cf2c44ef
2015-02-13 14:10:45 -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
55a551869f Remove comments that won't get meaningful during refactoring
Change-Id: Ia826e01b48821d167bb5f690b768e8305798a2fd
2015-02-13 14:10:45 -08:00
Sho SHIMIZU
62808d1165 Enforce overrinding execute() method in IntentUpdate subclasses
Change-Id: I02cf03abd60f771357b98bbd79c83eb3e0dce958
2015-02-13 14:10:45 -08:00
Sho SHIMIZU
6cb01e282b Remove class that is no longer used
Change-Id: I473b70e1cffba9728a3ebac23250b846a593a040
2015-02-13 14:09:08 -08:00
Sho SHIMIZU
39db1bb497 Remove classes that are no longer used
Change-Id: Idb5cfdadf9e6062b59500200a551ed5deaa362d7
2015-02-13 14:09:08 -08:00
Brian O'Connor
03406a4702 IntentStore interface changes
Change-Id: Ifa8728fb4c7edcc6d58a5e071f7252493ab2a578
2015-02-13 14:07:52 -08:00
Brian O'Connor
b499b3594d Updates to Intent Manager and store interface
Change-Id: Ida612bf5d0f4abe7e81d2f307a80f989603015e7
2015-02-13 13:59:20 -08:00
Ray Milkey
24226a2175 Start IntentOperations removal
Change-Id: Ib5fb9c19b37e447a62c61fa33bb98f3d789cbefa
2015-02-13 13:59:20 -08:00
Brian O'Connor
cff03322bf Started refactoring Intent Manager
Introduced IntentData and reworked APIs

Change-Id: I1fa437ceb1b72c4017ac2da1573bfbeb64c0632a
2015-02-13 13:59:19 -08:00
Pavlin Radoslavov
cef5206209 Use the correct IPv6 source address when forwarding NDP requests
on external ports.

This fixes ONOS-1021

Also, a minor optimization when forwarding the ARP or NDP request
on external ports.

Change-Id: Ic745e1af1f0a0602751977726a850f48afe84262
2015-02-13 14:19:58 +00:00
Dusan Pajin
a22b970637 ProxyArpManager - fix IPv6 ND Adv issue with Option fields and ARP/NDP Reply
with first IP address from Host service

This fixes ONOS-1010

Also, add protocol-related constants to class NeighborAdvertisement.

Change-Id: Iacf9e48a8a03a86e1cc4e89e7e2b2b4ccc4a7e3a
2015-02-12 22:25:31 +00:00
sangho
7ff01813fe ONOS-944: Implemented a Group operation failure handler in GroupManger and SimpleGroupStore.
Change-Id: Ib3be4d534ceff04af2dad0c062fd4cd63d49ee82
2015-02-11 23:56:53 +00:00
Brian O'Connor
72cb19a90e Implementation of new Flow Subsystem:
The subsystem no longer returns futures for tracking completion of work.
Notifications are explicitely returned via a call back mechanism. Also, the
subsystem is now asynchronous.

Change-Id: I1a4cef931c24820f9ae9ed9a5398f163f05dfbc9

more flowservice improvements

Change-Id: I5c9c1b6be4b2ebfa523b64f6f52e7634b7d3e05f

more flowservice impl

Change-Id: I05f6774460effb53ced8c36844bcda2f8f6c096f

Manager to store functional (at least i believe it)

Change-Id: I09b04989bd1004c98fe0bafed4c76714b9155d53

flow subsystem functional: need to fix unit tests

Change-Id: I1667f25b91320f625a03e5e1d5e92823184d9de0

flow subsystem functional

Change-Id: I429b3335c16d4fc16f5d55f233dd37c4d1d6111d

finished refactor of flow subsystem

Change-Id: I1899abc6ff6a974a2018d936cc555049c70a6804

fix for null flow provider to use new api

Change-Id: If2fd9bd5baf74d9c61c5c8085cef8bc2d204cbdc
2015-02-11 21:28:01 +00:00
alshabib
fd3cc05f65 fix for mastership race condition.
Change-Id: Id219bdf00f3d6501027566d54342c5d7c1b27789
2015-02-10 15:16:57 -08:00
Kunihiro Ishiguro
1eab7d5f25 Add IPv6 HostManager test.
Change-Id: I84a54b3635fd5b7a2a591f9bcf54cb3f7bceaddb
2015-02-10 18:13:45 +00:00
Kunihiro Ishiguro
f1bff5075a WIP: proxy NDP for IPv6.
ONOS-924

Need to implement test cases.

Change-Id: I86b0cb8c3c8d75f7276778e04c1a7166c9bb2f59
2015-02-05 08:58:39 +00:00
Yuta HIGUCHI
088e268b43 Fix fall back default version
Change-Id: Ic6cf20e71323e75b5a0359c99bc6206030f96a0d
2015-02-05 05:10:05 +00:00
Srikanth Vavilapalli
45c27c8c62 ONOS-895: Group manager implementation
Change-Id: Ie183f722fa39012f8de056961715c325e2388e63
2015-02-04 01:01:07 +00:00
Pavlin Radoslavov
320e6c97f8 Implement some of the missing Selector and Match Conditions
Work toward ONOS-509

The following match conditions are added/implemented:
 - UDP_SRC, UDP_DST
 - SCTP_SRC, SCTP_DST
 - ICMPV4_TYPE, ICMPV4_CODE
 - IPV6_FLABEL
 - IPV6_ND_TARGET
 - IPV6_ND_SLL
 - IPV6_ND_TLL

Also:
 * Renamed method
     TrafficSelector.Builder.matchInport(PortNumber port)
   to
     TrafficSelector.Builder.matchInPort(PortNumber port)
   (for consistency with the corresponding method(s) elsewhere)
 * Reordered the code for some of the existing matching conditions
   to follow the order in the OpenFlow spec, so it is easier to
   cross-reference such code.
 * Added missing Javadoc
 * Added few more Criterion.Type values as per OpenFlow spec 1.5.0

Change-Id: I7fc1656f32d8a7280c67d7827e4aa84528b0eafc
2015-02-03 14:40:08 +00:00
Sho SHIMIZU
aba9d009c9 Apply the naming convention to BatchOperationEntry
Resolve ONOS-889

Change-Id: I2001fabba138b9ff5be9a5943d3f020b4c38d195
2015-02-03 00:35:23 +00:00
Thomas Vachuska
90b453f11c ONOS-785 Adding distributed store for apps & app admin CLIs
Change-Id: Ia7639f3258fca2a18ba513f0c95de0ab8ea7ceee
2015-02-02 22:23:35 +00:00
Sho SHIMIZU
b269a4302f Delete line that is commented out
Change-Id: I89625bcc7944c9c341725049a56b2134298f8f02
2015-02-02 22:19:41 +00:00
Sho SHIMIZU
1a433d206c Remove comment that is obsolete
Change-Id: I93a419f4d75ff85dd148822fda3e50055ec99150
2015-01-31 23:07:55 -08:00
Sho SHIMIZU
0ce220af4f ONOS-426 - make the unit of Bandwidth clear
Change-Id: I6f23f01306ece906fb6a6a894a52a6369983eeed
2015-01-30 00:40:05 +00:00
Sho SHIMIZU
fd0cd8c19b Move CompilingFailed to upper level to reduce IntentManager's size
Change-Id: Ia75d91ff7f4de01c74f4ca6dac0d15b1d772ed69
2015-01-30 00:34:17 +00:00
Sho SHIMIZU
f2af6a2244 Move DoNothing to upper level to reduce IntentManager's size
Change-Id: I8f1d6f6fbf44ee1ad6113a9b27a3ae0beef4cac1
2015-01-30 00:33:33 +00:00
Thomas Vachuska
02aeb0339f ONOS-542 Defining application subsystem interfaces & public constructs.
Change-Id: Iba0d2cb69dace5beee8a68def9918059ce755b5c
2015-01-30 00:28:45 +00:00
Brian O'Connor
ea4d7d1421 Initial work on Intent API (ONOS-618)
Change-Id: I2b4aa0befabbf0b4dce8b2c991e38411709b2e80
2015-01-30 00:28:34 +00:00
Sho SHIMIZU
bdc17e7a94 Move inner interfaces to upper level to reduce IntentManager's size
Change-Id: Ice4fba9e0e70f72904fe7dfa9f371f61ca739b48
2015-01-29 02:31:35 +00:00
Sho SHIMIZU
28e72715b8 Change IntentUpdate and CompletedIntentUpdate to be interface
Instead of abstract class, defined as interface by using default method

Change-Id: I23135da32db3e1bf3b161edca4db8a61f392eb78
2015-01-29 02:31:34 +00:00
Sho SHIMIZU
23f36f0abf Refactor: remove unused method in IntentManager
Change-Id: Ifcec1a80674131379516f53ffdfb600651160f6d
2015-01-28 14:25:34 -08:00
Sho SHIMIZU
9ea3453b45 Avoid empty check of BatchWrite in the caller side
Change-Id: I5672b2d6fab719ab9a5c642a942bf4a6191e808d
2015-01-28 22:17:00 +00:00
Sho SHIMIZU
968c70d34a Remove an unused constant
Change-Id: Ib0c9d6cc5fbe057a27be6fe480d587311bf3d775
2015-01-28 08:50:32 -08:00
Sho SHIMIZU
adf8c48529 Refactor IntentManager: apply state pattern for intent state transition
Resolve ONOS-471.
- Define IntentUpdate sub-classes for intent state transition
- Define CompletedIntentUpdate and its sub-classes for parking intent state
- IntentUpdate.execute() handles one state transition and generates next state
- IntentInstall monitor is splitted into IntentBatchPreprocess and its sub-classes

Change-Id: Ie2d3a0b2ce9af7b98fd19a3a8cc00ab152ab6eaa
2015-01-27 23:50:19 +00:00
Thomas Vachuska
9ea3e6f477 ONOS-841 Renaming ONOS threads to simplify profiling.
Change-Id: I83a96bd875a0af9f3b78c06a9f9107c093b8e64e
2015-01-23 16:34:22 -08:00
Thomas Vachuska
c31d9f1dcc ONOS-745 Refactoring topology to compute only broadcast tree and not pre-compute paths.
ONOS-744 Refactoring graph search to allow requesting max number of paths.

Change-Id: I28467246b92df32ebb3155c45774ecc051fdd3dd
2015-01-23 12:57:34 -08:00
Ayaka Koshibe
8851ed97c7 Trim whitespaces before and after .cfg file arguments.
Change-Id: Iaf165b4e289075376deab806d3c7c15169e3dca7
2015-01-23 17:47:04 +00:00
Sho SHIMIZU
346609609a Fix typo in Javadoc comment
Change-Id: I7b99179a9e4b5a0e2249b802a940532004c8969c
2015-01-22 17:58:44 -08:00