Simon Hunt
ac4c6f732a
GUI -- Migrating the add/update device functionality to the Topology View. (WIP)
...
- still a lot of work to do.
Change-Id: I0453b7e2ec20a8a8149fd9d6440a13a3d43fbfd6
2015-02-04 04:33:50 +00:00
Bri Prebilic Cole
dee466269f
GUI -- Icon service work:
...
- Changed color of check and xmark icons for dark and light themes.
- Only appends glyphs that don't have a "-" as the name.
- Wrote unit tests for new icons.
Change-Id: Ia21fa33673e3adcfd8717f899d226b0d24dfcc51
2015-02-04 01:08:00 +00:00
Ray Milkey
f195b02624
Unit tests for applications REST APIs
...
Change-Id: I4e8360ca9b0ca9eafe1b226b648acfe2b0676caa
2015-02-03 23:30:29 +00:00
Simon Hunt
7c8ab8ddae
GUI -- Added "No Devices Connected" layer; (themed too).
...
Change-Id: I80e3cc20c426c9c9781ad73a891e0f2fe93594b9
2015-02-03 15:05:21 -08:00
Ray Milkey
19ffea35f8
ONOS-790 - REST APIs for paths
...
Change-Id: I5e08778e75c98c1156df7972af9897b52677d371
2015-02-03 21:10:39 +00:00
Bri Prebilic Cole
1dc32e64cd
GUI -- Created new icon badges of up and down arrows for tables, and edited tests to account for new glyphs.
...
Change-Id: I609f45ad434b8a3f92ce605ba1a9056f9584b11f
2015-02-03 09:44:39 -08: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
Simon Hunt
45c9fe5402
GUI -- Updated 'simple' scenario, and minor enhancement to mock server.
...
Change-Id: I08b015ad81d5b356d63edaa779418a5445d24edf
2015-02-02 19:06:29 -08:00
Simon Hunt
27e153aeac
GUI -- Fixed broken unit test, and amended case of color specs.
...
Change-Id: I0bd0fcc0139d264a56f8035a0a823a6aafb57ea5
2015-02-02 18:45:44 -08:00
Simon Hunt
a57d6815fe
GUI -- Instance Colors tuned for dark theme.
...
Change-Id: I173fcf8c8683dbef148d0506e8a9436dc518e0b9
2015-02-02 18:34:04 -08:00
Bri Prebilic Cole
e4d5c6c6fd
GUI -- Tables with the "onos-fixed-header" directive automatically resize to fit the window (as well as having a fixed header row with scrolling body).
...
Change-Id: I230a9577f9a83ab9342414054e64afa181f4f1e9
2015-02-03 01:00:46 +00:00
Simon Hunt
b72b1191e7
GUI -- ThemeService: Unit tests for add/remove listeners.
...
Change-Id: I427398fa02c9d4b7c7dd892872a02e6faecf9121
2015-02-02 14:42:16 -08:00
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
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
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
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
Thomas Vachuska
02aeb0339f
ONOS-542 Defining application subsystem interfaces & public constructs.
...
Change-Id: Iba0d2cb69dace5beee8a68def9918059ce755b5c
2015-01-30 00:28:45 +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
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
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
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
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
Bri Prebilic Cole
4c89177cd0
GUI -- Updated TableService to use d3 table creation methods.
...
Change-Id: I318ee4e81624118a82c52efe380213c661b743c5
2015-01-27 12:01:39 -08:00
Simon Hunt
fd1231a0a6
GUI -- Refactored Topo View to move websocket code into TopoEventService.
...
- now it is more properly encapsulated.
Change-Id: Ib5cb88acf63e78be648ff45e737c76041b53e44b
2015-01-26 22:14:51 -08:00
Simon Hunt
bb596362db
GUI -- First pass at TopoEventService - to encapsulate sending/receiving events from server.
...
Change-Id: I604d63a715f1ee25ca7ed05bacccb9eb8d65a0f4
2015-01-26 21:27:42 -08:00
Bri Prebilic Cole
5c2cab98ab
GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
...
Change-Id: I585cee8331612be984ca7ead2829525af7f3d3e5
2015-01-26 15:42:42 -08:00
Simon Hunt
c4ae83038d
GUI -- Fixed broken table-spec unit tests.
...
Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
2015-01-26 14:22:48 -08:00
Simon Hunt
54442fac5f
GUI -- Implemented Panel Service.
...
Change-Id: I5e60c6ffa5676bc11f7312681af7bca85b4f8036
2015-01-26 14:17:45 -08:00
Ray Milkey
521d3709dc
Removed prototype REST resource
...
Change-Id: I3edf7b7e1b4f8e7b1d26b3c5945e614da328014d
2015-01-26 12:29:41 -08:00
Ray Milkey
3f02569dde
Use JsonBodyWriter directly rather than converting JSON to strings first
...
Change-Id: I2facf51d0bf9b6ea4ccb47b0ac4214af203982a1
2015-01-26 11:50:49 -08:00
Ray Milkey
c401e6e3c6
ONOS-792 Unit tests for Topology REST GET APIs
...
Change-Id: I2e82b9b9b6133ba80aa8f02df582f867b924a641
2015-01-26 19:07:56 +00:00
Bri Prebilic Cole
aa8d2ed957
GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
...
Change-Id: I95f82108d7bb4f84a701b49e0e419afbdbac6f14
2015-01-26 10:18:16 -08:00
Ray Milkey
f25d1353d3
Fix Javadoc warnings
...
Change-Id: I857d8bd7d9fc0862f3c0097d3e65cbedfb997b0f
2015-01-23 15:47:00 -08:00
Ray Milkey
82e5031545
ONOS-792 - topology related REST GET APIs
...
- GET /topology
- GET /topology/clusters
- GET /topology/cluster/{clusterId}
- GET /topology/cluster/{clusterId}/devices
- GET /topology/cluster/{clusterId}/links
- GET /topology/broadcast/{connectPoint}
- GET /topology/infrastructure/{connectPoint}
Change-Id: I2a5053b9e7f8bb7f4e3daa4b82b31376a47578cf
2015-01-23 21:51:12 +00: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
Simon Hunt
988934ec2d
GUI -- Start of implementation of Panel Service.
...
Change-Id: I2729acc88c7130172587856f1af80ca0d66e4c5b
2015-01-23 11:49:24 -08:00
Simon Hunt
3b0916b2e7
GUI -- Implemented sendEvent() in WsEventService.
...
Change-Id: Iac4833e66e7688e490b24b4cbaca3514a59ce618
2015-01-23 11:06:56 -08:00
Bri Prebilic Cole
093739a751
GUI -- Created onosWidget module and TableService with respective Karma Test file.
...
Change-Id: I0b164877bcd70503d126ccfe19e03a96d6b84b56
2015-01-23 10:29:51 -08:00
Simon Hunt
acf410ba9d
GUI -- Cleaned up websocket callback wrapping and beefed up unit tests.
...
Change-Id: I3457e7d8009d0c7ebb900d06ae01c59cf7370cba
2015-01-23 10:05:54 -08:00
Simon Hunt
970e7fda20
GUI -- WebSocket object now decodes message payload as JSON on behalf of the consumer.
...
Change-Id: If27679b2c4d3beaed6aee96233ca4856b673ab72
2015-01-22 17:46:28 -08:00