7182 Commits

Author SHA1 Message Date
Madan Jampani
068a438f9d TypeSerializerFactory for using store Serializer with Catalyst serialization
Change-Id: If69eef3b1e41f9f104f760b99f15a5075cd87bd9
2016-02-01 18:54:01 +00:00
Jonathan Hart
916bf89b8b vRouter: ignore routes that don't come from Quagga
Change-Id: I1a67a18b7f5f0a4e43156c017b92c12789e81104
2016-02-01 18:38:33 +00:00
Priyanka B
a636405a61 label subsystem bugfix
Change-Id: Ic18c2d5a95e318e7624f2aad66528e5c97144ec5
2016-02-01 17:42:41 +00:00
Saurav Das
520259696c Fixing emulated ofdpa in cpqd switches. Due to cpqd bugs in dealing with Vlans and MPLS labels simultaneously,
we cannot emulate correct behavior in the same driver. This checkin separates the emulation, with one
driver meant for MPLS with untagged packets, and the other meant for untagged/tagged VLAN packets without MPLS.

Change-Id: Ia6112f4d26c7b32c93e1db2e9b1ae4673c553d87
2016-02-01 16:48:01 +00:00
Jian Li
dc94fc9fc8 Fix the typo of yangloader (onoproject -> onosproject)
Change-Id: I891819cb683018b32be450d6f694dc5909ebd6f0
2016-02-01 16:35:01 +00:00
sangho
3623cb647c [ONOS-3697] Remove flow rules and dhcp mapping for router when it is removed.
Change-Id: I24e7c6d3fa0731822250c84ac5807f6192d371bf
2016-02-01 16:15:20 +00:00
Madan Jampani
851c423b9b Updates third-party pom to ensure atomix classes are included in shaded jar
Change-Id: I8a4aa340f24c77fffa9abf822d493117887df983
2016-02-01 00:39:15 -08:00
Madan Jampani
533ef983f1 AtomicValue updates
- events now have old and new values
    - simplify implementation by using map.replace for compareAndSet
    - Removed option for disabling it from builder. Will make it a system wide option in a subsequent update

Change-Id: I7c1424f8671c0e54688172c273b9262f305b0920
2016-02-01 00:16:35 -08:00
Madan Jampani
47b80ba72e Leader elector distributed primitive interfaces
Change-Id: Ieebf5ddfcf8c5c6a55e4d6d328829cc8dbeef38a
2016-01-31 23:40:38 -08:00
Madan Jampani
f778c96889 Use partitionId instead of clusterName in CopycatTransport
Change-Id: I8e7ab3863a36944ac9e48e187037fb43695ebde3
2016-01-31 22:56:38 -08:00
Madan Jampani
dbe8a813b8 Fixes NPE in ConsistentDeviceMastershipStore
Change-Id: Id07c8d41338a48e58d7e3ea98312691a2011eeef
2016-01-31 21:10:46 -08:00
Madan Jampani
4124bc365f LEADER_ELECTOR distributed primitive enum type
Change-Id: I0d11218d0c9e134fb8b63fb24e743169f6b09dc2
2016-01-30 23:53:56 -08:00
Madan Jampani
620f70d03f LeadershipStore updates:
- Now tracking leader and candidates for a topic using a single map.
 - Using term numbers that are incremented by one every time a new leader is elected.
 - Introduced a separate LeadershipStore to conform to the  manager-store pattern

Change-Id: I1d03a6c5e8ff0e68ef0c1e3a6c2d425c4856e470
2016-01-30 23:14:12 -08:00
Madan Jampani
f6c973a08d DefaultConsistentMap to automatically retry compute* calls failing due to ConcurrentModification
Change-Id: If59e432e423d323282eb8fe7b1b438899154aae9
2016-01-31 06:44:57 +00:00
Sho SHIMIZU
07b7bc95aa Use specific types instead of using type parameters
Change-Id: I39dc222deb533c7201df1961f5ab2fd589fac39e
2016-01-31 06:31:08 +00:00
Simon Hunt
737ba4848e GUI: util... added createTrie() function to fn.js
Change-Id: I112fd9bf0dbd4eea078453447fc648c61a665e66
2016-01-30 16:11:13 -08:00
Simon Hunt
a834660953 foo servlet
Change-Id: I27019564dbfffc963a63a0160c8e5b51bf31e23f
2016-01-30 14:45:58 -08:00
Sho SHIMIZU
83258ae504 Use more concrete type for return value
Same resources are not allowed for a parent and Set is more suitable than
Collection

Change-Id: Ib45179819d81376678bf8949864b12b5bd721085
2016-01-30 16:33:41 +00:00
HIGUCHI Yuta
dc4394c6d3 Implement toString()
- add more debug logs

Change-Id: I1541d66f24d2dde0712a4daef081ca1f49951ef8
2016-01-30 16:15:17 +00:00
Sho SHIMIZU
7a070c05a6 Write TODO comments
Change-Id: Iba341f40412eece46ac52ca993f8e314fd7307dc
2016-01-29 16:53:28 -08:00
Sho SHIMIZU
6a717dcda6 Restrict exposure to public
Change-Id: Iaa106ccf130e216ac6877de7ccfa7bb4bc3296b1
2016-01-29 16:20:13 -08:00
Simon Hunt
8744ee580c raw: first bin file.
Change-Id: I0ab40f8c059bee43463cd2a90c1c3bf1055a5f14
2016-01-29 15:23:17 -08:00
Jian Li
79c4f1b492 Fix openstackswitching app activation issue
Change-Id: I61baf008bfbde4fab23dc2ae6b1cb05bb4017a5b
2016-01-29 21:19:41 +00:00
Charles Chan
0c7c43b136 CORD-394 Purge group/flow store when device goes offline
Stage 1: (this commit)
Add a component config purgeOnDisconnection, which is false by default.
When set to true, GroupManager and FlowManager will purge groups/flows
associated with a device when the device goes offline.

Stage 2: (upcoming commit)
Enable these configs in SegmentRoutingManager
Clean up group related information in SegmentRountingManager

Change-Id: I46d047d690d4641e030f6cdd084ce16ac02d8919
2016-01-29 21:00:45 +00:00
Andrea Campanella
8b1cb67def ONOS-3791 NETCONF session factory and exception on device connection
Change-Id: I7c6651a4f76537056a2dc8f94d54818b5b238b9a
2016-01-29 20:50:12 +00:00
Sho SHIMIZU
2486ddd8e4 Pull up components() method as an abstract method
Change-Id: I80aecb74958b697fb18336bbe39853dd5cb67578
2016-01-29 20:17:30 +00:00
Sho SHIMIZU
26a78dff72 Fix typo
Change-Id: I980a87b403ddcf629ad736f11b24df2e60a6477c
2016-01-29 20:16:58 +00:00
Sho SHIMIZU
19816f4e35 Revise Javadoc
- Remove the word "path" as no ResourcePath anymore
- Write conditions that a method throws an exception

Change-Id: Ie2f2e1cfd1c6c68051e6700ef4308363a71d9453
2016-01-29 19:58:33 +00:00
Brian Stanke
c6f781cefb ONOS-3704: Cleaning up the utils/thirdparty pom file to remove overlapping class warnings
during the build.

Change-Id: Ic943baece6060cfde277ad03d1a21d9c54091128
2016-01-29 19:55:20 +00:00
Charles Chan
93fa727942 ONOS-3763 Change flow state to PENDING_ADD when retrying
Will emit a RULE_UPDATE event if the state is changed.
Update unit test accordingly.

Change-Id: Ie84778c62f52f15b7636d41db246814145e73f77
2016-01-29 19:29:24 +00:00
Jian Li
95678966d4 Remove redundant meter id when create a meter entry in REST API
Change-Id: Iec38ea9a612878a2a6f2766c154c8ed8a8b31ef2
2016-01-29 19:26:29 +00:00
Jian Li
c6c76dc896 [ONOS-3739] Substitute copyright year during archetype gen
With this commit, we can substitute the copyright year during
archetype generation phase, so that we do not need to manually
input the copyright year.

Change-Id: I3c0e4cdc69a3fad7a90335332d5489604107b892
2016-01-29 19:25:53 +00:00
Simon Hunt
5b024d79b9 ONOS-3738: implemented F1..F5 key bindings to topology overlay selection.
- added size() function to radio button sets
- removed noisy warning (panel resize when contents not defined)

Change-Id: Id39cffe5c6c9f608b9d9af672b1535610a97f0fc
2016-01-29 11:02:53 -08:00
Jian Li
6b86a76558 Split CPMan into api and app submodules
Change-Id: Iacddea67ea0f7189ab918cf9e2a7a414100fc503
2016-01-29 18:55:52 +00:00
HIGUCHI Yuta
5b6dfbaaba - adding more log
Change-Id: I2626a25d5dde502f1954f492b54785ba5fbb540b
2016-01-29 17:47:08 +00:00
Simon Hunt
15813b2e51 Remove unnecessary parentheses (but keep some for clarity).
Change-Id: If2072c3a207ba791210cb71a9c595f6027c2ff0c
2016-01-29 17:04:17 +00:00
Jian Li
c132c11b27 [ONOS-3648] Implement REST API for collecting system metrics
- Implement REST API for gathering system metrics
- Add unit test for REST API
- Add swagger doc for REST API

Change-Id: Iedd21a5f6ed14d595e4d35c1fa08270b48a5031e
2016-01-29 16:50:30 +00:00
Jian Li
e044d1a738 Augment metrics model to monitor more # of control metrics
Existing implementation only monitors OpenFlow messages.
This commit augments the metrics model in a way to monitor more
number of control metrics including
- CPU Load, total CPU time, sys CPU time, user CPU time, etc.
- Used memory percentage, free memory percentage
- Disk read/write bytes
- Network incoming/outgoing bytes/packets

Change-Id: I9e8eee163c3033132eb202f3c75bad246c87f133
2016-01-29 16:33:19 +00:00
Simon Hunt
cc90490587 Fix link.online() to return true only if BOTH underlying unidirectional links are marked as online.
Change-Id: I2b66e8a0b6f7a1bba488c82f799219e9c1ab5da3
2016-01-28 20:07:24 -08:00
Simon Hunt
eb18f52e3f Oops! Fix updateLink() function in topology view.
(also add linkupdate scenario).

Change-Id: Ic0f6753745e43c5fc76a6cb180a0c8a66178c657
2016-01-28 19:22:34 -08:00
Andrea Campanella
28dbe8ff6d ONOS-3829 Fixed bug with inconsistent parent's behaviours when merging drivers
Change-Id: If7b1924b034b0d8ce806410bb9efa4f5258c14f6
2016-01-29 02:21:12 +00:00
Sho SHIMIZU
460b97251b Move static factory methods to the utility class
Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
2016-01-28 13:43:21 -08:00
Sho SHIMIZU
763be92118 Avoid using fully qualified name
Change-Id: I273ccfe4bded393ec17128f485842c458cbffac4
2016-01-28 09:41:54 -08:00
Jonathan Hart
51539b85d3 Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00:00
Sho SHIMIZU
f95b96eaa3 Change the APIs to instantiate Resource and ResourceId
Now, DiscreteResource/DiscreteResourceId is provided by DiscreteFactory.
Similarly, ContinuousResource/ContinuousResourceId is provided by
ContinuousFactory. These factory instances can be obtained by static
factory method such as Resource.discrete(...) or Resource.continuous(...).

Change-Id: Ic94f7336c0e1f74cf2dddcac899de300362aff3e
2016-01-28 17:31:58 +00:00
Sho SHIMIZU
d978d9ac01 Move variable declarations out of the loop
Change-Id: I7d89e942e459e65838282f0c7dc9a1399c4af166
2016-01-28 08:57:48 -08:00
Saurav Das
77b5e9032b Using vlan extension in ofdpa for versatile objectives
Change-Id: I11f35eccd0c103df02ffddb3060fffd5bc13c44f
2016-01-28 06:37:17 +00:00
Madan Jampani
f95290af5b Added newValue and oldValue methods to MapEvent.
Change-Id: Ibaffc8079de03b1f4623044ec53c949831ea8cd1
2016-01-27 21:06:11 -08:00
Sho SHIMIZU
7f8a7cb733 Define zero argument contructoris for the serializer
Change-Id: I1c5f4a526f886ffb85b1a9d03d661161f66d076b
2016-01-27 16:05:11 -08:00
Rusty Eddy
4d5a92f646 Added a Scheduled Executor, PIM packet maker to generate hello packets
Change-Id: I27b91a9eb2906e9345223382238fd4fcfd1397f4
2016-01-27 23:53:40 +00:00