Ray Milkey
4c0da81c28
Fix missing break statement found by Sonar
...
Change-Id: I5581aca308531517b1e73751487c042ab09ec606
2015-02-02 21:50:34 +00:00
Simon Hunt
245a88e124
GUI -- Added theme listeners, so the instance panel can update the instances on a theme change.
...
Change-Id: If26d5a6ce9fadc02c7184c5ad4d252fc168300a8
2015-02-02 13:26:04 -08:00
Sho SHIMIZU
1a433d206c
Remove comment that is obsolete
...
Change-Id: I93a419f4d75ff85dd148822fda3e50055ec99150
2015-01-31 23:07:55 -08:00
Ayaka Koshibe
b1224ab24f
Revert "FlowRule equals() incorporates FlowId to factor in treatment."
...
Using Flow ID forces a dependency on the Group/App ID.
This reverts commit 38f8c232295c33a455887366469f81c874bdef94.
Change-Id: Ib08166c8f778228ebbb68f98c763fcc57a9d6771
2015-01-31 00:54:29 +00:00
Simon Hunt
36c936b134
GUI -- Added unit tests for FnService.find().
...
Change-Id: I17ec1abe4024c761b2f88f03e783eeb1e55f24e9
2015-01-30 16:07:25 -08:00
Ray Milkey
2287d8850f
ONOS-887 - Return a 404 status when a URL specifies a bad resource
...
Change-Id: I145ae65076d54ec50f7627a50307c975df8f2c0a
2015-01-30 23:07:43 +00:00
Simon Hunt
48e61678e9
GUI -- Completed implementation of Instance events (add, update, remove)
...
- fixed instance color selection (using cat7() function)
- miscellaneous additions to utility functions.
- etc. and so on...
Change-Id: I61895489ccc60fa17beda9e920e65742e0f2c526
2015-01-30 14:48:36 -08:00
Ayaka Koshibe
38f8c23229
FlowRule equals() incorporates FlowId to factor in treatment.
...
Reference: ONOS-481
Change-Id: Ia1fcba3f827c662c89801afc84916ffef78af66d
2015-01-30 14:28:48 -08:00
Simon Hunt
7492830d50
GUI -- Augmented mock server to allow descriptive names for events.
...
- also, lists scenarios at startup.
Change-Id: I6f32d15e7ed4ec2ade4546d68d2e245001c394ec
2015-01-30 12:42:15 -08:00
Srikanth Vavilapalli
56db94fb73
Group subsystem Northbound and Southbound API definition
...
Change-Id: I1843562ff7fdf0dfdf82a8757382d494698ded3f
2015-01-30 19:59:03 +00:00
Jonathan Hart
aaa5657d83
Implement anti-entropy for the EventuallyConsistentMap.
...
ONOS-857.
Change-Id: Ife2070142d3c165c2a0035c3011c05b426c8baa4
2015-01-30 19:10:49 +00:00
Jonathan Hart
4572785eee
Added Collections.emptyList() to Kryo BASIC namespace
...
Change-Id: Iabc7a0538184a71311b54a9093b75c55c293ccae
2015-01-30 19:02:40 +00:00
Ayaka Koshibe
2a85e840b0
NullHostProvider - check for device ownership before host creation.
...
This is done by literal check of NodeId, as it is encoded in the
DeviceId.
Also includes minor fixes to config file parsing.
Reference: ONOS-873
Change-Id: Id333c109c3bb752dcb78ede3a4dfd94fec189cc0
2015-01-30 17:42:23 +00:00
sangho
3f97a17d9b
(ONOS-684) Added a few new OF actions, which are required for Segment Routing Application
...
- MPLS POP (Ethernet type)
- Dec MPLS TTL
- Dec NW TTL
- Copy TTL In
- Copy TTL Out
Change-Id: I639a1bfff9ba3ae8c372c0a4b36f132cb2610b7b
2015-01-29 23:00:26 -08:00
Simon Hunt
4b66859f8d
GUI -- Implemented Instance Panel.
...
- handling addInstance event.
Change-Id: Ic98a3291bd37ecf1155dbe1696167d0635a31972
2015-01-29 17:35:47 -08:00
Sho SHIMIZU
0ce220af4f
ONOS-426 - make the unit of Bandwidth clear
...
Change-Id: I6f23f01306ece906fb6a6a894a52a6369983eeed
2015-01-30 00:40:05 +00:00
Brian O'Connor
d0f13eb8bd
Patch job on transient test failure
...
Change-Id: Ia32daed4d25e9315e904978d0ca2bb14955ab1a6
2015-01-30 00:38:27 +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
alshabib
e43443326f
pulled in upstream loxi changes
...
Change-Id: I6b8bd5c3f7cd24a5d4f9d5da378bd7f606efdd8e
2015-01-30 00:20:44 +00:00
Bri Prebilic Cole
9ca0f9cb46
GUI -- Tables with the "fixed-header" directive using ng-repeat will have fixed headers while the body will scroll.
...
Change-Id: Ia1fed45e8da28375df3c34c068104802739e3c11
2015-01-29 15:44:27 -08:00
Simon Hunt
edf5c0ee71
GUI -- Topology view... Minor cleanup.
...
Change-Id: I86e1bab3815b8dfabdfbd1e5f3f773b37b2f1ca9
2015-01-29 15:00:53 -08:00
Simon Hunt
c9b7316610
GUI -- Completed Show Summary panel.
...
- added GlyphService.addGlyph().
- added SvgUtilService.translate().
Change-Id: I0bbc51a8f1d9c24b8b4f1377236570070da6f160
2015-01-29 14:02:15 -08:00
Simon Hunt
626d210f29
GUI -- Implemented showSummary event (Icon still to do..) WIP
...
- included CSS for light/dark themes.
- Removed height from panel default settings.
- Fixed 'restart' bug in mock server - (renamed to mockserver.js)
Change-Id: I615299e6f8f07843edb074050b7450eea501bfbb
2015-01-29 11:54:59 -08:00
sangho
11c30ac6d3
Add a new method sendMsg(OFMessage msg, TableType type) in OpenFlowSwitch interface to support multiple-table aware FlowRuleService.
...
Other changes are caused due to the new method.
Add type() in FlowRule interface to determine the table in which the flow rule need to be set.
Change-Id: I6518a01f4a5fba23f09f70b619f3844b5e33ce8f
2015-01-29 09:35:06 -08:00
Pavlin Radoslavov
4b5acae6c4
ONOS-734 Add unit tests for 4 Octets AS numbers in SDN-IP
...
* Fix a bug in the storing, handling and verification of the AS numbers
with 4 octet AS capability is used.
* Add an unit test to test the decoding and parsing of supported
BGP Capabilities: Multiprotocol Extensions AFI/SAFI, and 4 octet AS.
* Minor refactoring of the BGP unit test framework.
Change-Id: I474b356bc00369c307ac0c5c214b065c1cc0c52c
2015-01-29 17:29:37 +00:00
Pavlin Radoslavov
8a36ce35a6
ONOS-866: Refactor the storing and handling of BgpSession info.
...
Moved the local and remote BGP session info to a separate class BgpSessionInfo.
No functional changes.
Also, removed methods TestBgpPeerChannelHandler.prepareBgpKeepalive(),
prepareBgpNotification() and prepareBgpMessage() from the unit tests.
Instead, use the corresponding methods in the BGP implementation itself
to generate the BGP messages.
Change-Id: I7f4b6ad4f6995c242cd8a9848ea527b1fcac9c11
2015-01-29 17:26:27 +00:00
Ayaka Koshibe
35c71e12ee
NullDeviceProvider now takes configurations for :
...
- Number of devices per ONOS instance.
- Number of ports on the devices. This value is global.
The islands created by each instances' providers are joined together
in a chain (circle).
Reference : ONOS-860
Change-Id: I875ad1fbc1d4441869373c25de2ae5b62838e0d4
2015-01-29 04:50:07 +00:00
Sho SHIMIZU
5e5d4aa4b6
Change the second type parameter of BatchOperationEntry
...
- Remove the bounded type parameter for BatchOperationTarget
- FlowRule and Intent don't inherit from BatchOperationTarget
- Remove BatchOperationTarget because nothing depends on it
Change-Id: I3b414d25409e9bbe5de37ffef10b08bc1799be74
2015-01-29 02:32:33 +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
Simon Hunt
b0ec1e55fc
GUI -- Added TopoPanelService to encapsulate summary, detail and instance panels.
...
- Rudimentary handling of 'showSummary' event implemented.
- Fixed resize behavior of topo SVG.
- Created 'migrate' mock-server scenario.
- Added 'restart' command to mock-server.
Change-Id: I90ac93dbc9efb8f17ef95825d3159030145267a2
2015-01-28 18:13:49 -08:00
Simon Hunt
a11b4ebec0
GUI -- Continued porting topology behavior over to the new codebase. WIP.
...
- added FnService.windowSize() function.
- added MastService and mastHeight() function.
- implemented SvgUtilService.createDragBehavior().
Change-Id: I5dae35244ab8220e1b95ddfd55b180e6adcb7a00
2015-01-29 00:24:11 +00:00
Bri Prebilic Cole
159830132b
GUI -- summary-list table CSS edited to look cleaner.
...
Code to integrate directive into d3 created table -- WIP
Change-Id: I182ad1c66fdce36bb4097459e55a5271d47b700c
2015-01-28 15:57:07 -08: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
Marc De Leenheer
cb9c0ba6c5
Fix rewriting of LINC-OE config for long controller IPs (ONOS-834).
...
Change-Id: I1e60ca4dc4d5d444eca905e13e234ad781009755
2015-01-28 22:15:32 +00:00
Yuta HIGUCHI
93356bcabc
Update hazelcast version to 3.4
...
Fixes ONOS-864
Change-Id: Ib8ba93de2bcc5fd278039d24482a9019f2d1eae8
2015-01-28 12:33:59 -08:00
Yuta HIGUCHI
190ed19e18
Suppress Hazelcast multicast joiner warning
...
Related to ONOS-864
Change-Id: I7e7a27f09cadaf0a4d5cba4caf2757fa6012561d
2015-01-28 12:32:53 -08:00
Simon Hunt
737c89fb53
GUI -- Starting to migrate the 'force layout' functionality from the old GUI.
...
Change-Id: I38c5e5cd45a3bdc9cf6f0ec68736f3b5fbcb289f
2015-01-28 12:23:30 -08:00
Jonathan Hart
539a6460ad
Modified GossipIntentStore to use EventuallyConsistentMaps.
...
All IntentStore operations are now implemented.
ONOS-858
Change-Id: I5081805b61c7e25e28707b90093cae12b5a4374b
2015-01-28 11:33:21 -08:00
Ray Milkey
9c3d3367a1
Make REST API unit tests choose a free port to allow concurrent builds
...
Change-Id: I05579d38e9374c40ef67251a30869361e31fc6d8
2015-01-28 11:09:45 -08:00
Jonathan Hart
7d656f4e91
Remove "throws IOException" from ClusterCommunicationService APIs
...
that never throw IOExceptions. These APIs already return boolean to indicate
if sending failed.
Change-Id: I339949fe59f3b8b18a117aabc8d67402dc66c2a3
2015-01-28 10:14:34 -08:00
Sho SHIMIZU
968c70d34a
Remove an unused constant
...
Change-Id: Ib0c9d6cc5fbe057a27be6fe480d587311bf3d775
2015-01-28 08:50:32 -08:00
Jonathan Hart
db3af8974a
Initial implementation of EventuallyConsistentMap.
...
The map uses the gossip schemes to replicate data between instances. It seems
to work for basic add and remove use cases right now, no anti-entropy yet.
ONOS-844.
Change-Id: I7d05a7b532e40c95ab14e2c8911f18514bd0a8ca
2015-01-27 21:30:22 -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
Sho SHIMIZU
500c317c2e
Use diamond operator to simplify codes
...
Change-Id: I2cb27782c6f47c908d06e1877705921a5f57f91e
2015-01-27 23:44:18 +00:00
Ray Milkey
8fd68cae15
ONOS-792 Implement Unit Tests for Links and Devices REST APIs
...
Also added a missing attribute to the Devices codec
Change-Id: I824a3559ca6278297a52169249f413c850204a9b
2015-01-27 15:33:44 -08:00