10582 Commits

Author SHA1 Message Date
Yuta HIGUCHI
02a125e639 CLI command to log something for ease of debugging.
onos> mark --impersonate org.onosproject.stc Starting step FOO
onos> display | tail -n 2
2017-05-06 01:34:57,275 | INFO  | r user y-higuchi | stc                              | 137 - org.onosproject.onos-cli - 1.10.0.SNAPSHOT | Starting step FOO

Change-Id: I548ae2470b333a2ac047d8c7782b4a1b79535dbb
2017-05-08 18:45:15 +00:00
Jian Li
6e960ef79b Fix: Make the mapping storage type identical in CLI and REST API
Change-Id: If9cd9bea747c165204428775473e75f05ac27917
2017-05-06 16:45:00 +00:00
Ching-Ting Sun
60445dd221 ONOS-3615 Redefined some static methods in opticalUtils.py as normal functions.
Change-Id: Ie3a5831f7d2c4ea889c6399ae914dfb1da3cec7f
2017-05-06 00:14:03 +00:00
Yuta HIGUCHI
0164c1c9f2 Log some context when Intent failed.
Change-Id: Ib30f78f970680144f920ca4754825f78eedb658b
2017-05-05 20:54:57 +00:00
Simon Hunt
8e258116dc ONOS-6259: Topo2 - Implement server-side highlighting model
- Generated highlights message now sent back to the client
  with the event id "topo2Highlights".

Change-Id: I873ebd38a0636a7d9b5c2a6caf98c6b33de2cc87
2017-05-05 13:19:16 -07:00
Jonathan Hart
7485070616 Initialize both route stores on activation.
This should prevent bugs due to the distributed store being initialized
at runtime.

Change-Id: I5dde57cc5d06c4b0d36b029f0e05933e7a80eee9
2017-05-05 18:36:12 +00:00
Simon Hunt
f27a929fbb ONOS-6372: Topo2 - Refactor "location" data to be consistent
- consistently labeled fields "locType", "latOrY", "longOrX"
- simplified code in topo2NodePosition.js

Change-Id: I73e8daadcc3e6ca3ff45f7f60e7b372ccfd8b045
2017-05-05 18:30:03 +00:00
Jordan Halterman
5f97a30982 [ONOS-6345] Track tombstones within transactions for optimistic locking on null values
Change-Id: Ib4764721e512462ec1552124ff696b8f89687d8f
2017-05-05 18:05:06 +00:00
Jordan Halterman
2f7a5d0575 [ONOS-5992] Ensure Copycat connections are closed when no remote handler is registered
Change-Id: Iec17fd09f0d715dbbe08c604057aeb00d677b939
2017-05-05 17:53:18 +00:00
Michele Santuari
a85bd3bf49 fix Link Discovery of Juniper driver
The Link Discovery of the Juniper driver leverages on some parameters
that has been changed in ONOS-6323

Change-Id: I6519ba1676de531a74340eaaddc8cc47912bb417
2017-05-05 17:26:05 +00:00
Yuta HIGUCHI
ebff1b5c52 ONOS-6323 Revise Juniper driver
- use snmp-index as port number, which seems to be unique.
  duplicates were observed for local-index
- physical-interface Port's enabled state is admin-status & oper-status (was only admin-status)
- logical-interface Port's enabled state is above & if-config-flags.contains(iff-up)
  Note: local loopback also falls into this category
- logical-interface Port's portSpeed is inherited from parent physical interface speed.

Change-Id: Ie70d07589db01f6b394c90cb1e599b5eb2f8ec91
2017-05-05 17:26:05 +00:00
Steven Burrows
cdf6b33e3e Topo: Suppress lat and long in details panel if null
JIRA Tasks; ONOS-6328

Change-Id: I3dcf1e28c3150c01dd4f50c9e5bc0f91bec45de6
2017-05-05 17:21:42 +00:00
Thiago Santos
fb73c50ef9 [ONOS-5156] DistributedGroupStore: keep both entries map in sync
There are 2 maps to store groupstores, keep both in sync from the start.
It can happen that the deviceid-based map isn't properly initialized
when the store gets data from other peers in a cluster in activate()

Change-Id: Ia33929f734a846c72890cf57095ea9ff8d2d394c
2017-05-05 17:14:44 +00:00
Michele Santuari
a271faa8c3 Implementation of the DomainService
Change-Id: I012c31d113fbcc12d4c35cb10d11d7be4cd83458
2017-05-05 16:44:10 +00:00
Gaurav Agrawal
8ce6d5cafe YANG live compiler.
Change-Id: I1844c0cb1ca7fffdd2522f2aa74df8d16a71d465
2017-05-05 15:40:14 +00:00
ke han
215f245e74 the port in action field is optional for qos flow rule
Change-Id: Ia590bcb94b20f917ad12b02d6c68da56aea0a233
2017-05-05 13:09:09 +00:00
Jian Li
38bb1095cb Augment provider service to process batch mapping query
Change-Id: Id44e4ad23f4cfbb56da4d52e1beb8cd0d3ca2b20
2017-05-05 11:54:12 +00:00
Simon Hunt
2d7cd6fc33 ONOS-6259: Topo2 - Implement server-side highlighting model
- (Still WIP)
- Cleaned up createHandlersAndOverlays() in UiWebSocket.
- Augmented handlerCrossConnects to link Topo2MH to Topo2TrafficMH.
- Topo2Stop event now shuts down background traffic monitoring.

Change-Id: I87e7151ea813b7514521201ecffcf2c9eed22cd7
2017-05-05 00:37:07 +00:00
Yuta HIGUCHI
33a847b932 Make getTimestamp() safer to call
Even if caller has checked that isTimestampAvailable() returns true,
it was possible for consecutive getTimestamp() call to throw an Exception.
e.g., another thread could have released mastership for the Device, etc.

This patch will make getTimestamp() exception-safe to call,
after confirming isTimestampAvailable() returned true,
by keeping history of last known term number of this Device.

- for ONOS-6210

Change-Id: I79e19d5f8eb95bf0b5796f87aacd5df5edd39e39
2017-05-04 22:48:43 +00:00
Yuta HIGUCHI
65d9d0ebc6 [ONOS-6412] allocate resource by Intent.Key
- Allocate resources by Intent.Key instead of IntentId

- ONOS-5808 changed the IntentManager's Intent withdrawal behavior to
  release resouces allocated by Intent.Key
  (was releasing resource allocated by IntentId)

Change-Id: I62e048e4ee8f841b92d9985784c95abba3d37a0a
2017-05-04 22:31:56 +00:00
Andreas Papazois
f00087c132 Intent installer and operations for domain intents.
Change-Id: Id4597baebf587b1bc9b3ae9013383ae50472fa4c
2017-05-04 22:23:59 +00:00
Michele Santuari
03df2a57f2 Domain intent manager
Change-Id: Id146977c2ac94b009d843058f953446f686d1800
2017-05-04 22:15:47 +00:00
Claudine Chiu
70e2db8f52 ONOS-6382 fail removal of non-existent virtual network with IllegalStateException
Change-Id: I50a81f79660ff6fc63a5426368f2edbcec993155
2017-05-04 22:01:52 +00:00
Michele Santuari
38dd82e630 domain intent APIs
Change-Id: I4b2ac854da7808a880ef0a37b3b08ef51da812e5
2017-05-04 21:46:24 +00:00
Charles Chan
c53d617a29 CORD-1149 Allow configuring multiple IPv4/IPv6 addresses on one interface
We had this limit before because we derived VLAN from subnet.
We no longer do that and thus user should be free to config 0+ IPv4/IPv6 addresses

Change-Id: I144c618112e4b437ebf64ea3b5ab05a83263cb17
2017-05-04 21:22:07 +00:00
Yi Tseng
ef19de1e84 [CORD-1108] Refactoring OFDPA Group Handler
Create package "ofdpa" under pipeline package
Move helper functions and classes to OfdpaGroupHandlerUtility

Change-Id: I47e42f2c8afc9088ed684cd6a087233a82c452f6
2017-05-04 20:59:28 +00:00
Yuta HIGUCHI
02f8d2efd6 ONOS-6306 Lamda resource allocation aware PCE
Change-Id: I9c6cc729c7bbfdc68f591f868e8d7143f207d5d3
2017-05-04 19:11:11 +00:00
Yuta HIGUCHI
ac8b229375 ONOS-6225 Expose k-shortest path search as part of TopologyService.
Change-Id: Idf812a707aba0b972fcfbde871c624dfc86b6e1b
2017-05-04 19:11:06 +00:00
Yuta HIGUCHI
d31bc6e6f6 make netconf-get-config usable on any NETCONF device.
- removed dependency to ConfigGetter

Change-Id: I00072625efc9ece327628f5034a845b0b96526f2
2017-05-04 18:43:23 +00:00
Jian Li
55648edc74 Allow to query mapping value when receives MapRequest
Change-Id: Ic7893a397c2c16e219135a31516565d2f1323f50
2017-05-04 17:59:08 +00:00
Jian Li
a1f960b651 Fix: Set default state as ADDED for newly added mapping by router
Change-Id: I34eda7f5b229efe273d4a4e61e72082f8f123a2c
2017-05-04 17:41:54 +00:00
Kavitha Alagesan
c56cded49f ONOS-3701
Change-Id: If690f7c46f224625bf7a84fa12305d9a02a65571
2017-05-04 17:29:41 +00:00
Deepa Vaddireddy
0a71c8beac Fix for ONOS-5035.Cherry picked from commit f1621f163d1b48d7056ef676cdcece3822bde0f3
Change-Id: I99cce9565f479a03e9e472713efc6d4ddd749108
2017-05-04 17:01:17 +00:00
Jordan Halterman
5d0bbb79fa [ONOS-6350] Transaction performance tests
Change-Id: Ia335c707279466b4104a96a1f7ddbd014cb9f0ef
2017-05-04 16:42:41 +00:00
Simon Hunt
a7aea849c6 ONOS-6259: Topo2 - Implement server-side highlighting model
- (Still WIP)
- refactored trafficSummary() and related methods up into superclass
- introduced hook method for link aggregation

Change-Id: I0a993bbc5ba5f0e861214f8d06877dad3f7bc8ee
2017-05-04 16:41:03 +00:00
Ray Milkey
7da8592cc7 Fix maven build problems with restconf protocol
Change-Id: If0a9234283041cb6ce0fe48ba6a4674989bfd0be
2017-05-04 16:14:32 +00:00
Ray Milkey
2d572dd363 Use buck version of checkstyle rules in maven build
- build and package the checkstyle rules in the onos-build-conf artifact
- modify maven build to use new version of artifact
- fix checkstyle problems in maven-only code

Change-Id: I4e4dc890ca909e47463629c732a2fc5335bb4d2a
2017-05-04 16:03:51 +00:00
Thomas Vachuska
11b99fc941 Refining driver subsystem to facilitate coordinated start-up.
- for ONOS-6402

Change-Id: I7f64fc62ad1d451fcf55624b2422b60631a3c8e8
2017-05-04 15:55:16 +00:00
Yoonseon Han
e1a7e54ffc (vNet) fix: jenkins failure due to vnet test cases
Change-Id: I53f52306e9c30d4ebcc2e4ab0e60131b7e505bb7
2017-05-04 15:44:56 +00:00
Jordan Halterman
a2268ec66b Limit line length in split ONOS logs to 500 characters.
Change-Id: Ia8f5e7c37279b6534f4b1af48347369f487bdc50
2017-05-04 15:44:06 +00:00
Hyunsun Moon
8b0710b1aa Fixed artifact ID to buck build format from SONA app pom files
Change-Id: Ifac6da25114bc93ac1354789b962ce4e2a362839
2017-05-04 06:52:04 +00:00
Simon Hunt
9e2413e4f3 ONOS-6259: Topo2 - Implement server-side highlighting model
- wiring in Traffic2Monitor calls
- added utility script to dynamically set debug level on Topo2 classes

Change-Id: Ie727de39739729e1c240ca0484ed08f020546dae
2017-05-03 23:56:58 +00:00
Yuta HIGUCHI
100b552489 Log alarm translation error properly.
Change-Id: I57e60572dadccb6f5e22e41d81d4f12e6b44830a
2017-05-03 23:24:11 +00:00
Matteo Gerola
7e180c23f5 REST protocol: changing returns for HTTP methods from boolean to int (HTTP standard codes)
Change-Id: I8bbdf1e61cc9f5983e03329327b7ae756372c5fe
2017-05-03 22:14:52 +00:00
Yoonseon Han
997c8426c1 fix: (vnet) sync batch flow rule batch operation
The current version of flow rule provider always returned success
regradless of physical flow rule's installation.
This commit makes to enable to  sync with virtual and physical rule
batch operation

Change-Id: I1c9bfc30d23e0e7b24bf8be8774f67e304f3b28e
2017-05-03 18:42:56 +00:00
Yoonseon Han
5cf483a5da fix: (vNet) solve the problem that vnet flows aren't removed
1. fixed to remove virtual flow rules
2. fixed to remove the installed rules after deactivation
3. minor refactoring

Change-Id: I3685d89840eeef8dbbf53f7afe819f39043b434f
2017-05-03 18:35:16 +00:00
MaoLu
2f7eadb54b Change some code in roadm application.
1. Change inputPowerRange to powerRange in the port view page.
2. Replace the update Frequency methods in roadmUtil.

Change-Id: I19a840156d8cdcb9c142bd88a6b5a667bb135f77
2017-05-03 17:58:46 +00:00
Yuta HIGUCHI
f708910147 Minor cosmetic changes
Change-Id: Ib594c3481a2e8881da37981b6ab4deb5a8e4eb12
2017-05-03 17:51:52 +00:00
Simon Hunt
1911fe487e GUI - Topologies - refactoring of ServicesBundle.
Jira: ONOS-6259
 - also fixed bug where edge links were being omitted.

Change-Id: I19ac83d09ce7930de7a927fb2754e0c5004705f2
2017-05-03 17:47:19 +00:00
Yuta HIGUCHI
e3ebe69018 Lazy k-Shortest paths search
Change-Id: Ibebbe904c31c8c73e097035ae4486333b38ce2a8
2017-05-03 16:29:06 +00:00