10582 Commits

Author SHA1 Message Date
Jon Hall
b471f2c7b6 Add Unit tests for ClusterEvent
- override ClusterEvent's hashCode, equals, and toString

Change-Id: I85e3ff7d60b2c76559d71a4093cff73eee064cf9
2017-04-06 13:56:36 +00:00
Andrea Campanella
5953a4f3db Removing useless dependecy on driver utils from default drivers
Change-Id: I649230d630bd0bcb40f4267934ea7e5ae2efdd70
2017-04-06 12:54:07 +02:00
Ray Milkey
e4afdb5f17 Fix Sonar errors: public data members in classes
Change-Id: I7aca37d5553436167ac6e7b2206392f88bddc118
2017-04-06 00:13:24 +00:00
Jon Hall
3557db5bd7 Add unit tests for ClusterMetadataEvent
- add toString, equals, and hashCode to ClusterMetadataEvent

Change-Id: Idb1031c01cc6333be76851bb1b2ee196a8732d76
2017-04-06 00:11:48 +00:00
Jon Hall
672a3ed843 Add unit tests for MastershipEvent
- Add hashCode and equals for MastershipEvent

Change-Id: I7897b9efc139db014ebee0b00025b257ca00a4b6
2017-04-06 00:10:28 +00:00
Jon Hall
d543513b78 Add unit tests for ClusterMetadata
- fix a typo
Change-Id: I13f615857b82ef5bf69b437ffb8b9f82d3d7c48e
2017-04-06 00:06:21 +00:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Ray Milkey
634eb17ac5 refactor flow entry mocks to use adapter
Change-Id: I948468aba42a1da70162dc77ab86e6ff79fb3ace
2017-04-05 22:44:02 +00:00
Ray Milkey
278e75b90d Add unit tests for FlowEntryWithLoad class
Change-Id: I9663ef207555a6b7371fbf59f2bbe2c0b169c83d
2017-04-05 22:43:15 +00:00
Jon Hall
f074af907b Add unit tests for PartitionEvent
- add hashCode and equals for PartitionEvent

Change-Id: I9f0b2ed7dbadae56ed2045360f56f9be24399183
2017-04-05 22:42:42 +00:00
Amit Ghosh
764a1b4bc0 ONOS-3830: Adding support for serialization/de-serialization of QinQ packets, support for TPID other than 0x88A8
Change-Id: I6f56c5afe0fcd439ca2be848e7da8a68b577cc16
2017-04-05 21:55:01 +00:00
Simon Hunt
c43a59d2d5 Topo2: Added zoom callback to map service, to allow for adjusting map stroke-width on-the-fly.
Change-Id: I08f7bdda0b34c8e64a95a05d3c5af28fc236fe7d
2017-04-05 13:56:37 -07:00
Hyunsun Moon
ffaeac375e Fixed Maven build failure
Change-Id: I40aabf5ac0f9b51432fe670cd90b614b2b893691
2017-04-05 18:40:48 +00:00
Simon Hunt
fe3d7b4282 Update geant-null script to sleep while simulator starts up...
Change-Id: I69f98f3e517b85bde7b21d6e5efb8cbb95f93dc2
2017-04-05 11:19:45 -07:00
Simon Hunt
375fd623cb Topo2- bay area regions: spaces in labels.
Change-Id: Ia047d252b4cc754d655bb2b758403526e3b6b23b
2017-04-05 10:01:48 -07:00
Jon Hall
fa332cc30c Add missing dependecny to netconf pom
Change-Id: I429ed13995c0ced10bb62ca565dc7de2f9195a5d
2017-04-05 16:32:13 +00:00
Satish K
ba1c912fa4 Pce Load Balancing
Change-Id: I417e7473db86fa26f7a2dc46122dcacdeb584108
2017-04-05 09:59:25 +00:00
Satish K
2eb5d84bca PCE Changes to handle bandwidth changes from network
Change-Id: Ib4961ac4ea8ed803fb035ab93725ae6f0968a5c0
2017-04-05 08:14:00 +00:00
Andrea Campanella
0cee0b6d1a Resetting variables of a NetconfSession before reopening the underlying transport SSH connection and session.
Change-Id: I34fb61d8ec28a05d4a9148df853c1be98bd3559f
2017-04-04 13:12:13 +00:00
Satish K
690d5cffa0 Bandwidth update to NetworkConfig
Change-Id: I26117bcbe57ec3b6c016ddaac1b9c075ff739199
2017-04-04 15:12:55 +05:30
Jian Li
246334bb48 Add ExtensionAddressInterpreter with ExtensionMappingAddressCodec
Change-Id: I30e663581ff392b3adf0e366cb7984fc66d34d0b
2017-04-04 01:21:32 +00:00
Simon Hunt
6e6e80bb66 Dark theme for topo2
- and temp code cleanup.

Change-Id: I3e1994add88f5b4e46c404bd25c44c30d5e25517
2017-04-03 12:03:59 -07:00
Jian Li
8877d3c768 Bugfix: Fix unit test error caused by unreferenced OSGI package
Change-Id: I7c5452a57d2a56a2862e6e4d96e4873fe80f7ae6
2017-04-03 16:44:11 +00:00
Simon Hunt
2246bd1277 Add YANG gui apps to simon-single cell.
Change-Id: Iaa142ff9123783caa1c7da13649caa9dafd3a3f0
2017-04-03 08:12:50 -07:00
Jian Li
b6995cbd7c Fix: Remove the dependencies between LISP provider and driver
LISP mapping provider should not be aware of LISP driver, and
LISP specific LCAF to Mapping Extension conversion will be realized
in LISP extension address interpreter which is located in protocol.

Change-Id: Idc38c13e084e323f9e07a62fcfac846d6b3d9a56
2017-04-03 08:39:09 +00:00
Charles Chan
d4f3a629b2 Refactoring ICMP handler in Segment Routing
- No longer handle ICMPv6 packets except those target routerIP and gatewayIP
- Remove source IP validation for ICMPv6 since IPv6 hosts often speak with their link local address

Change-Id: If92826c080a4643bad71b0d39fc89b7123dc11d5
2017-04-03 07:10:54 +00:00
Simon Hunt
3ee1f43c7e Fix YANG Model details panel to have scrolling Source Div.
Change-Id: I23dd77ee13e95f73dcaae5d72f553fdfd837d732
2017-03-31 17:21:17 -07:00
Jon Hall
fe4a073ca3 Allow sequential installation of ONOS in STC
- Check for ONOS_STC_SEQ_START env variable, and if set, install ONOS in
  sequence instead of in parallel

Change-Id: I6c5d9d2e46293ec3c02b1de22227d3a81d48a45f
2017-03-31 22:34:21 +00:00
Charles Chan
b1f8c7610d Bugfix: handle link updated event
A direct link might be transiently marked as indirect if BDDP is received before LLDP.
SR needs to handle link updated event such that it can process when an indirect link becomes direct.

Change-Id: I2330d55e0a8265d5a6f50bd7700781d6e20ebcf8
2017-03-31 21:27:05 +00:00
Charles Chan
54734711e7 Showing more information in pending-obj-nexts
Change-Id: I85c6632687093dca77ca978b6f4b8f3e0ee76348
2017-03-31 21:26:47 +00:00
Charles Chan
053b1cbd3f Refactoring OFDPA pipeline
Remove redundant code and improve log message

Change-Id: I1b8da70abf0c12b71428da0e7e76fe7be793449b
2017-03-31 21:23:35 +00:00
Yuta HIGUCHI
7fc72462c9 Match channel spacing to resource management unit.
- for ease of testing lambda resource

Change-Id: I1bfa5fb203d938779165607f087192d16dbb14bb
2017-03-31 19:49:35 +00:00
Harold Huang
4a6521161d fix: (vNet) listener registry initialization issue
Problem:
1. Listener registry is only initialized in the addListener method.
It will cause NullPointerException in the EventSink's proces method.

Solutions:
1. Initialize the listener in the constructor.

Change-Id: I1eae5f2d52166b04f3e028d22b41414319f75b51
2017-03-31 19:06:03 +00:00
Thomas Vachuska
db29dcf62d Reverting netconf default poll frequency to 30 seconds as not to
jeopardize other demos.

Change-Id: I44f2ed0e56eaffac24dde2e2f5aa246ce96647ea
2017-03-31 11:26:19 -07:00
Thomas Vachuska
605134d6a7 Adding provisional coloring thresholds for packet-per-sec visualization.
Change-Id: I35dcd3d4bdc69f7cc0bc785b663171d35b1a7079
2017-03-31 11:17:00 -07:00
Jordan Halterman
e9c37095c9 [ONOS-6075] Rewrite Copycat Transport
- Ensure connection IDs are globally unique
- Ensure connections are closed on each side when close() is called
- Add Transport unit tests

Change-Id: Ia848b075d4030ce74293ecc57fea983693cee265
2017-03-31 18:13:32 +00:00
Thomas Vachuska
f3aaa8d155 Changing default port stats poll frequency of netconf device provider.
Also made it configurable.

Change-Id: Ib50a8d8a65d4b2d3ca527026386a61f45c7ae636
2017-03-31 17:53:38 +00:00
Hyunsun Moon
53381e8283 ONOS-5503 Added CLIs for administering OFAgent
Change-Id: I58256316e2054952da9dce04bf927901761807e5
2017-03-31 17:48:46 +00:00
Yuta HIGUCHI
a8a1375e96 Clarify expected String content
Change-Id: I91e8f19269dfb4b96aa6f8d6bdd42f53b3dc4a0c
2017-03-31 17:41:11 +00:00
Simon Hunt
e093e78439 Minor stylistic fixes to topoD3.js label function.
Change-Id: If6d982750a91c9116d683ff0b116da97ded1d8b2
2017-03-31 10:20:04 -07:00
Simon Hunt
698551787e Cleaned out deadwood, now that bit rate link styles are processed server-side.
Change-Id: I57a95c84b10fd4f3640739ba3f1988d06a12e1d2
2017-03-31 10:20:04 -07:00
Palash Kala
6f44279311 removing a dead local variable, refactoring
Change-Id: If48284ae996e74f63ca7b0993a7f9e69e4954cbd
2017-03-31 17:18:37 +00:00
Thomas Vachuska
401a1d37ae Fixing the YANG GUI a bit.
Change-Id: Ie0d5a92f7b149bd6a55b09e85a11e72f7ee356dc
2017-03-31 09:58:11 -07:00
Jordan Halterman
c234f06d8b Bump Atomix dependency version to 1.0.4
Change-Id: Ife3fa00d2fa1996bead7bf434388d0cda2228cfe
2017-03-31 15:07:01 +00:00
Thomas Vachuska
770ef845ac Adding ability to view YANG source in the details pane.
Still requires to add scrolling and to clean-up the hacky ID scheme.

Change-Id: I70e397310ee36bea9d01019ca0e21f4bb5ffb0c9
2017-03-31 00:35:26 -07:00
Thomas Vachuska
e0792f15ee Adding ability to view YANG source in the details pane.
Change-Id: I9bc6dd4afbfc02cc27ef989063b28cd3510a6e84
2017-03-31 00:15:34 -07:00
Simon Hunt
21281fdddc Refactored Traffic Monitor code to display packets / second.
- cleaned up "rate thresholds" for coloring links.
- added unit tests for TopoUtils.
- "Monitor All Traffic" button on toolbar now cycles between 3 modes.

Change-Id: If33cfb3e6d6190e1321752b6d058274d3004f309
2017-03-31 07:03:33 +00:00
Donghee Yoon
c708e3c8a2 remove dereferencing a null pointer
Change-Id: I2e55920e430a20585c3997122b02540306b21dca
2017-03-31 06:42:48 +00:00
Palash Kala
b46d2200f3 A part of if condition in the code is not necessary
Change-Id: I7c23633647bb91d0c311bf11cf479fd1f89e2ca3
2017-03-31 06:11:47 +00:00
Palash Kala
2349ac9cfb Method should return when error occurs, otherwise there will be NullPointerException
Change-Id: I6b597ec997ebb2f243f66864c58bab8d812ea0d8
2017-03-31 11:31:02 +09:00