7127 Commits

Author SHA1 Message Date
Charles Chan
3e0412984f Override toString for flow objectives
Change-Id: I725ca9ac231e21c12f364e1a8bbdc6d3cd1e5a38
2016-03-01 08:48:41 +00:00
Sho SHIMIZU
6f0ec20c95 Refactor: Split into two if statements
Change-Id: If9217fea0629f2d1e06db8310722b9d008e59d98
2016-03-01 07:54:30 +00:00
Sho SHIMIZU
6d10aed94b Refactor: Narrow data provided to method
Change-Id: Ib871410d36214457eb1291f308332f35e4e807c5
2016-03-01 07:53:52 +00:00
Simon Hunt
5c3c091c9f GUI -- added topo script and configuration for projection onto UK map.
Change-Id: Id87991aca319f6c2bf5bd2c9f0735592ad4c4b1f
2016-02-29 23:21:55 -08:00
Jian Li
597d7b2fbd [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor all of *Id classes in protocols package
- Refactor all of *Id classes in utils package

Change-Id: Ie53f078174d0bd0cb5ab4ef6786f1025a7d70846
2016-03-01 06:12:48 +00:00
Jian Li
d79fb94921 [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor all of *Id classes in apps package

Change-Id: I31fafbf7f15aee3a1b3b37b7c281b3f99eae0883
2016-03-01 06:12:27 +00:00
Brian O'Connor
3ac8526d4f Updating FlowObjectiveService javadoc
Change-Id: I68ab552f80bad965133aed8f90d01065d22cb974
2016-03-01 06:11:57 +00:00
Thomas Vachuska
2980c971cb IntentManager refactoring for flow objectives.
Change-Id: I220682dbace03908b25ba86332664238dafaef90
2016-03-01 04:40:27 +00:00
Thomas Vachuska
cdac6e89fb Adding command to list mapping between intent class and compiler
Change-Id: Ie85801b6e924d8bf119d77a7dddd12020b2b1320
2016-03-01 03:56:12 +00:00
Ray Milkey
661c38cad5 Add path intent compiler that generates flow objective intents
Change-Id: I11bee398d927f0e3f32b7cf81d98cfe5816db477
2016-03-01 03:54:18 +00:00
Thomas Vachuska
00f481629a Adding copy builders for flow objectives.
Adding missing hashCode and equals methods.

Change-Id: I97b2d904eacf0c45a95905c0891dbc6465e18ec6
2016-03-01 03:53:00 +00:00
Jian Li
b6d998ecc7 [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor most of *Id classes in onos-api package
- Refactor all of *Id classes in incubator package

Change-Id: Ief6322d3fb42c80e82f695e9d4dcee439346215b
2016-03-01 03:50:43 +00:00
Sho SHIMIZU
47001d1952 Refactor: Inline method
Change-Id: Ic48aaed07f80156801e0136e9d34ec824a9219d6
2016-03-01 00:44:28 +00:00
Madan Jampani
180705743f ClusterManager support for reacting to cluster metadata changes
Change-Id: I7befaf4f955bda093d89c3c431eae6814409ae03
2016-03-01 00:44:23 +00:00
Sho SHIMIZU
54fa580427 Refactor: Extract method
Change-Id: I729f679f2adcdc8507f0bb24a2d89117df18a5e6
2016-02-29 13:52:04 -08:00
Madan Jampani
898fcca1d1 Support for watching changes to static cluster metadata file
Change-Id: I5f9f89997288ca9a33a9e41f7520b875aceeffbe
2016-02-29 21:47:01 +00:00
Sho SHIMIZU
64339feb26 Refactor: Narrow data provided to method
Change-Id: I0425a6c879be76498fc812790713d2db5062117e
2016-02-29 11:59:50 -08:00
Sho SHIMIZU
d8f7dc4691 Refactor: Narrow data provided to method
Change-Id: I959bea73ab2635ecce99ef8b51a584994287ec64
2016-02-29 11:56:17 -08:00
Sho SHIMIZU
3763a0224f Refactor: Rename
Change-Id: Iae498b3a40e4c920598b05c4a7e5f36d6cb33e85
2016-02-29 11:31:45 -08:00
Sho SHIMIZU
979c3d90e9 Refactor: Narrow data provided to method
Change-Id: I7709ae9a2d639170ec8f789ab5ada2b30e1bd12e
2016-02-29 11:31:45 -08:00
Madan Jampani
931e97dbc5 Remove base (p0) partition in StorageManager
Change-Id: Idae636173a9638da19f391e203bec0bccb399328
2016-02-29 19:12:58 +00:00
Bob Lantz
3ec585d7dd Clarify config parameters/environment variables
As mentioned in the comments, ideally this script can be used as
the basis for an ONOS service in a variety of environments. Out of
the box it should work on Linux with either init.d or with systemd's
init.d compatibility. It can also be called by an upstart configuration
or a systemd configuration.

In the future we should probably remove start-stop-daemon, since that
seems to be a linux-ism. Then we could use this script on BSD, OS X,
etc..

Change-Id: I9c701c95991448fa7ddf0d84d379a4cac56cfc5f
2016-02-29 18:47:58 +00:00
Jian Li
43a0b2fe7c [ONOS-4015] Enhance Region CLI to support add/update NodeIds sets
Change-Id: I559b5cd3213e8e7ae69bdbbefdc8a1a9a1655b49
2016-02-29 18:47:33 +00:00
Bob Lantz
5e4d49d128 Set -u and -e, and respect ONOS_HOME
If errors or undefined variables are introduced into this script,
we should exit with an error. In particular, we should exit with
an error if KARAF_VERSION is not defined rather than failing
semi-silently.

If ONOS_HOME is set, we should respect (and use) its value.

If ONOS_HOME is not set (as it will not be in the init or service
environment), intuit its value based on the path to this script.

Change-Id: I91c733fddcb2241a95466667e4b57ce0f74a8194
2016-02-29 18:15:28 +00:00
Simon Hunt
a428124925 GUI - Fixed a timing issue with topology event handler binding.
- handlers were not bound up front, (but during a delayed promise callback)
- resulted in the handlers not being present for initial events returned from the server:
 -- showSummary, spriteListResponse, spriteDataResponse

Change-Id: Ida8d14e8bdcb065d0ea5f88eb7a4bf6e45036c27
2016-02-27 18:54:06 +00:00
Charles Chan
3e783d0b7b Fix NPE in SegmentRoutingManager
NetworkConfigEventHandler must be initialized before adding NetworkConfigEventListener

Change-Id: I8eb40c8b7345b915e613a678df8e8c103980ee21
2016-02-27 07:12:39 +00:00
Simon Hunt
1eee51deb3 GUI - added remapping of device type to glyph ID.
- this is so we can remap 'virtual' device type to 'cord' glyph (E-CORD demo)
- added ecord mock-server scenario.

Change-Id: I1a0ad48752f86ffb8abc75fbdc9bf8eabf10f692
2016-02-26 19:12:13 -08:00
Simon Hunt
0f8c505173 GUI - added CORD logo to glyph library.
Change-Id: I6a3321d62df33f84c400dec8e77e572c230e3d04
2016-02-26 18:17:09 -08:00
Sho SHIMIZU
874e0a3a4c Extract method to create a FlowRule
Change-Id: Ib40b557a724e9c11ea9c6c30ab99b903ecb21823
2016-02-26 16:56:11 -08:00
Sho SHIMIZU
953b0fb6ca Move variable definition close to line using the variable
Change-Id: Icf91b863af766ec4d8869208a64bfe68805c02d0
2016-02-26 16:42:13 -08:00
Jian Li
cf74444198 [ONOS-4015] Implement Region administration CLI
- Implement region add/update/remove CLI
- Implement devices add/remove CLI

Change-Id: I38b40b24df7f864b0725104f63347081257743ac
2016-02-26 19:50:10 +00:00
Simon Hunt
b07f6b5ab8 GUI -updated "OTN" design with "laser" idiom.
Change-Id: Id9b48c9fe0d15c4aad8cb56c18b97b778dc49b74
2016-02-26 10:42:39 -08:00
Charles Chan
4ca8e60b95 Introduce an easy way to check whether an IP address is multicast or not
Change-Id: I192a1b3e04b843fa0446d011cc98393a1950a5a9
2016-02-26 17:00:29 +00:00
alshabib
56efe43fa3 fix olt cookie issue
Change-Id: I25ce0b5fc9058195498aa407d01aef1fa78a95e4
2016-02-26 16:51:17 +00:00
Jonathan Hart
f51950db6e Proposal for replacing Upstart with init.d script.
Change-Id: I22ad1faac713bb50f0b7ad3dde132363a6588723
2016-02-26 05:37:13 +00:00
HIGUCHI Yuta
c343f7a940 Stage external apidoc tarball to $ONOS_STAGE_ROOT
Change-Id: I24661c002abd54d85d2bd154f47de13d3821d135
2016-02-26 05:32:58 +00:00
Simon Hunt
707a2ac28a GUI - topo view: added/updated... OTN, ROADM_OTN, FIBER_SWITCH
- consolidated common glyph elements.
 - updated server-side constants.

Change-Id: Ia962f8827dafbb10fdbffed6dcb64c1ebcfc8c4d
2016-02-25 20:14:30 -08:00
Sho SHIMIZU
82b9d1722d Ignore config event if not master not to cause concurrent registrations
Change-Id: I1455ad9bbf373cd3b5742d35b8edb7392c4ca9d7
2016-02-26 02:46:56 +00:00
Simon Hunt
a34fcb5822 GUI - topo view: enhancements to provide tinting of maps.
Change-Id: Ie369f4eee4c28e70ef86852cfbeea78fea8fae4f
2016-02-26 00:57:54 +00:00
Bob Lantz
02ba2d1e53 Correctly handle case when .tar.gz archive is missing
Previously, it would succeed since the checksum command would
return nothing in standard output.

Change-Id: I1a73d20a0e085107be8362a6226b1a213ecdab78
2016-02-25 03:59:09 -08:00
Jian Li
814a339458 Resolve openstacknetworking and openstackswitching dependency issue
Change-Id: If246d09af29cfa0379ee9666de2931a3175f46e9
2016-02-25 23:59:06 +00:00
HIGUCHI Yuta
e7bfaae987 Fixing onos-archetypes-test error
Change-Id: I12877d0012b50392a36e0d819e7b787066503dfc
2016-02-25 23:40:19 +00:00
Brian Stanke
b8ff641378 Fixing device key REST API bugs and adding json definitions.
Change-Id: I41a98702e781544fe6e0bebe3e281ff2bcd9a6fa
2016-02-25 23:38:31 +00:00
Zsolt Haraszti
05a1ba1dc9 Use allocateNextId when building new NextObjective
In order to avoid nextId collisions, all users of the flow objective
service should use the provided allocateNextId() method when
constructing new NextObjectives. I found one instance where this was not
the case: CordMcast.

Solution: removed private id generator from CordMacst and replaced it
with allocateNextId.

Change-Id: I134931b58c524291ae937dd6f0051ee549236734
2016-02-25 23:38:09 +00:00
Sho SHIMIZU
d5bf1069b9 Load ComponentConfigService in IntentManager
Change-Id: I8b292edc9afdc7a8c3aaab511ed338b8497eb6de
2016-02-25 21:42:16 +00:00
Gaurav Agrawal
0cfdeedeb8 Yang Listener for BITS Data Type
Change-Id: I81e7f7e8de38ce20addd63548414a486b7e2ffb8
2016-02-25 21:39:36 +00:00
sangyun-han
ad84e0ca12 [ONOS-4004] DistributedStatisticStore and DistributedFlowStatisticStore make configurable
- Using @Property and @Modified annotations
- Fix DistributedPacketStore / DistributedStatisticStore / DistributedFlowStatisticStore

Change-Id: I6c907498496b9f21a8ef13b7badeb24770cb88ff
2016-02-25 21:19:11 +00:00
Hyunsun Moon
a74171d44a Added wrapper application of openstack4j
It is impossible to use openstack4j directly from ONOS apps
due to the Jersey version conflict.

Change-Id: I2df32430de42d627b03e0a2f8d8d2b9067ad3e14
2016-02-25 20:54:14 +00:00
Madan Jampani
64d3721fe1 Remove retry logic from NewDistributedLeadershipStore
Change-Id: I1eac3bda717ca227874ebac46fd5840247bfbe11
2016-02-25 20:52:42 +00:00
Vinod Kumar S
71cba685ff [ONOS-3904] Derived data type and formatting fixes
Change-Id: I1d68899e0056fa0db6322e83f7e9d3ff9b3b1ee0
2016-02-25 20:50:53 +00:00