1661 Commits

Author SHA1 Message Date
Carmelo Cascone
326ad2dd29 ONOS-7050 Refactored PI translation service and store
The translation store is now able to maintain mappings between
translated entities and specific instances of a PI entry in the network
(i.e. applied to a device).

The translation service has been refactored to allow users to
learn and forget translated entities.

The refactoring of the P4Runtime driver using this service will be
submitted separatelly.

Change-Id: Iaafd87d90232514853ca0dea0115dbae4f6e7886
2017-11-30 09:40:40 -08:00
Andrea Campanella
14e196dbcd [ONOS-6810] Implement Mastership handling in general DeviceProvider
Change-Id: I14b706d364cf5124da248230fbcda65d0bd284ce
2017-11-29 10:14:31 +01:00
Palash Kala
a06a61694c ONOS-6950 Annotate device through network configuration
Change-Id: I39d5ca39667bb1478a090408ff3c1af33220a0b2
2017-11-28 18:02:40 +00:00
Carmelo Cascone
1a7e4f9b9a ONOS-7050 First stab at PI translation store
Change-Id: I7f48802b1f5d70fbe3e6cead2800855de18b9207
2017-11-23 13:38:21 +00:00
Charles Chan
593acf90c8 Correctly persists the old value in TestConsistentMap by deep cloning the entry
In addition, inject TestApplicationId into DistributedMeterStore serializer when running MeterManagerTest

Change-Id: I8dcb4b2953a8d7e0fa1e5d765c859cde31d7633b
2017-11-22 22:00:56 +00:00
Yi Tseng
dbe0560f0d [ONOS-7236] Supports simple IPv4 routing on fabric.p4
Change-Id: Ie92b26361b1d646491bd382f698c0f8f61a058a1
2017-11-21 17:08:30 -08:00
Ray Milkey
a09f87f02b Starting snapshot 1.13.0-SNAPSHOT
Change-Id: Ib3360118c42aa760632ff80537d585865813060f
2017-11-21 09:38:31 -08:00
Jordan Halterman
9416aea4f0 Check for in-progress upgrade before attempting to change NONE role in DeviceManager
Change-Id: I3f8ef2ecb5ec57685fdb687bfcb65bd774e031ce
2017-11-20 17:33:00 +00:00
Ray Milkey
2c142c5248 Fix race condition - if the device manager is not ready when a packet arrives, drop it rather than NPE
Change-Id: I601b4ce1d449b169059a3390441dcfa58b800db3
2017-11-17 01:17:13 +00:00
Carmelo Cascone
39c28ca503 Moved service PI classes/interfaces to appropriate package
Change-Id: I44a4aba848fd758a78a28eb484b7f579e3f22d08
2017-11-16 18:57:38 +00:00
Ray Milkey
8320088c69 Unit tests for Cluster Metadata Manager
Change-Id: I81de294844414778798645b95b5aaa18060e4c44
2017-11-15 22:42:24 +00:00
Antonio Marsico
4f68ec98fd ONOS-6613 Non-disruptive intent reallocation
Change-Id: I5d051c20402a226ad540b8bc08695b602ff75273
2017-11-15 20:07:15 +01:00
Ray Milkey
334e941e9c remove references to BMV2 from pom files
Change-Id: I2f590f62e2cda50de4eecd27d1ae933953c8ee81
2017-11-14 19:37:16 +00:00
Jordan Halterman
21a74da386 [ONOS-7213] Add serializer for cluster metadata Partitions.
Change-Id: I9344288b881f9e50feb8901f560e1a0a4b53392d
2017-11-14 19:27:13 +00:00
Jordan Halterman
ba1bbaf1fa [ONOS-7214] Delete partition data after cluster reconfiguration.
Change-Id: Ifad2b282c554829374d6623904bb792f2b70c393
2017-11-14 19:00:39 +00:00
Ray Milkey
e3708c71a8 ONOS-7219 - don't crash if there is no metadata file
Change-Id: Ibe000a5a51e037d1effb7b1e0b580d8dcc02f00b
2017-11-14 01:22:21 +00:00
Carmelo Cascone
87892e25d1 ONOS-7066 ONOS-7067 PI abstractions refactoring and P4Info model parser
Includes changes previously reviewed in #15607, #15877, and #15955.

Change-Id: Ie2ff62e415f2099832ebfe05961a879b7b188fc3
2017-11-13 16:15:17 -08:00
Ray Milkey
cc6ec60fb2 Starting snapshot 1.12.0-SNAPSHOT 2017-11-10 16:22:59 -08:00
Ray Milkey
9f9a752bdc Tagging 1.12.0-b2 2017-11-10 16:21:23 -08:00
Harold Huang
ff6e1e6558 fix a typo
Change-Id: I9564435d771fa1ab9f3641ff837ee8d96a704de0
2017-11-10 18:58:37 +00:00
Thomas Vachuska
f2e09cb477 Adding ability to handle orphaned devices when balancing mastership.
Change-Id: I01dd7a3074475d79504d516fbd3fd32ef18770ce
2017-11-08 16:42:28 -08:00
Ray Milkey
e27bb9023b Fix maven build
Change-Id: I71374cf697c79fe6809c687ca353e709fd087ae2
2017-11-06 12:55:17 -08:00
Jordan Halterman
0676c9725d Use default value for automatically rebalancing masters on upgrade
Change-Id: Ib1f4867ab79aa112234ff220bd8eb8d282e1aaae
2017-11-06 19:14:02 +00:00
cansu.toprak
409289de06 Multiple meter support added and meter action added for OF1.5
MeterFeaturesFlag added for OF1.5

Change-Id: I84d2785f37ea51b08244de9c54effe5224af9531
2017-11-06 18:22:59 +00:00
Jordan Halterman
07f052bcf3 [ONOS-7088] Distribute storage partitions evenly during upgrades
Change-Id: Id82f86ddedbe6c7de2322717338c5c341177bc9e
2017-11-04 01:27:43 +00:00
Yi Tseng
8013c4f7ba [ONOS-7202] IntentCleanupTestMock always fail in jenkins test
Change-Id: Id81e14eea044d4e911b162e1535a9239b0372547
2017-11-03 18:12:58 +00:00
Andrea Campanella
e370878546 [ONOS-7116] Implement MeterProgrammable and MeterDriverProvider
Change-Id: I398edda11a6b77b66d79758cf3afab42976e8ff3
2017-11-02 16:52:41 +00:00
Andrea Campanella
f9c409a3d8 [ONOS-6556] Distributed Implementation of PiPipeconfService
Change-Id: I7196ce6eee333e732c0cd5015d4d8d32ee069e27
2017-11-01 23:39:55 +00:00
Pier Luigi
f094c61341 [ONOS-7114] Meter Subsystem Refactoring
Changes:
- Moves meter counters in the store
- Uses atomic counter map for meter counters
- Implements atomic counter map adapter and test atomic counter map
- Introduces free meter id
- Changes allocate meter id
- Implements unit tests for MeterManager and MeterStore

Change-Id: I45e3debc0e43ca7edcf6e3b4065866634f76f9f7
2017-11-01 19:53:00 +00:00
Jordan Halterman
61aeb35677 Add upgrade event listener to UpgradeService on initialization of MastershipManager
Change-Id: Ic1d419d1c5908bddee633897391fa6ef11c525b3
2017-11-01 18:19:36 +00:00
Jordan Halterman
59afc6ad14 [ONOS-7176] Add DriverService dependency to GroupManager to ensure drivers are available when initial device events are received
Change-Id: Ibcc1c694ab95b68d607a76112f8f87d534e7f712
2017-10-31 23:04:29 +00:00
Deepa Vaddireddy
2740a1119b ONOS-7146
InterfaceManager fails to load interfaces from storage after ONOS 
is restarted

Change-Id: If499fa14c16e4fa511cd823306aceb3e0b10e5f3
2017-10-31 23:00:40 +00:00
Carmelo Cascone
ca94bcf5ea ONOS-7058 Refactored default pipeconfs in new pipelines directory
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)

Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
2017-10-30 16:53:37 +00:00
slowr
c4e87da2c7 Membership Service fix on getMembers function
Change-Id: Ib175f0a7ffffca913ef337464bb313bc4b563fd6
2017-10-28 00:28:26 +00:00
Yi Tseng
c29d882265 [ONOS-7161] Flows stuck on pending_add after bring the link down
Change-Id: I8281b7cf9348056687ab9e30416170739d22953e
2017-10-27 23:22:47 +00:00
Jordan Halterman
9ada34a76d Catch exception when attempting to fetch metadata at startup
Change-Id: I88be96ad4b9ee205f2ca653bfc09f04b636caf93
2017-10-24 23:25:44 +00:00
Ray Milkey
ebdd4850e5 Move meter manager implementation out of incubator
Change-Id: Ide0905c55e0584361fe37c3c5e16c697533eb9f9
2017-10-23 22:05:06 +00:00
slowr
0a44fde0fc [ONOS-7093] Add ISSU permissions
Change-Id: I9097019cf4b42d41817daafe3ce9ad8644ccb148
2017-10-23 20:25:04 +00:00
dvaddire
49add8089d ONOS-6937
Cluster metadata file is not read even after correcting invalid data

Change-Id: I92095be8c9fc7e52689d6022bd93f78539c059fc
2017-10-20 20:28:48 +00:00
Yuta HIGUCHI
0c47d5386e Deprecate joda-time
- ref:
  http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html

Change-Id: I1115e8053f601e78cb933ccbfa664ff8787d2da1
2017-10-20 09:40:05 +00:00
Jordan Halterman
28183eea1d Replace Unified* services with MembershipService for subgroup membership
Change-Id: Iabff173ce3501d1ed300513cac445bb712614bd9
2017-10-19 23:45:32 +00:00
Cem Türker
3baff6785f ONOS-7077 Openflow 1.5 OXS and stat trigger support
Change-Id: I006bcd3d8eac451a780c7e5c69a12298ead14281
2017-10-19 00:09:28 +00:00
Jordan Halterman
5ca0793506 [ONOS-7086] Detect failures in upgraded nodes and roll back upgrades
Change-Id: Ie804b5cd8cae0a1f0bbbe233dc34ae819c41673c
2017-10-18 23:08:49 +00:00
Jordan Halterman
713830def0 [ONOS-7098] Rebalance masters on upgrade completion event
Change-Id: I03e8590f8df57563a3919365e3b382082439e869
2017-10-14 06:19:17 +00:00
Jordan Halterman
980a8c1566 [ONOS-7054] Implement prototype of ISSU protocol
Change-Id: Id543c0de9c97b68f977c824cbc987b35d81beb2d
2017-10-06 21:14:56 +00:00
Thomas Vachuska
4267681176 Changing PacketManager topology event processing logic to avoid
processing irrelevant events.

Change-Id: I82fdd5d492dfd1e04cd05564053c3ab05f0d10fb
2017-10-03 23:49:18 +00:00
Ray Milkey
f0c47617e8 Remove deprecated deserialize() mthods from packet classes
Change-Id: I4e52ab368390d30f5f5f24d443a5021916d0c6a3
2017-10-03 18:03:33 +00:00
jaegonkim
a9ff68bb8d [ONOS-6944] Restarted dispatch loop become stopped when event sink exceeded execution time limit in CoreEventDispatcher
Change-Id: I85d12b0472f4349124d1e2afead59becce52c976
2017-10-03 16:41:10 +00:00
Carmelo Cascone
87b9b398fa Various improvements to PI group handling
- Moved group translation logic to core service
- Removed dependency on KRYO
- Fixed bug where tratments with PI instructions where not supported if
	an interpreter was present
- Fixed bug where action profile name was not found during protobuf
	encoding (always perform P4Info lookup by name and alias)
- Improved reading of members by issuing one big request for all
	groups

Change-Id: Ifcf8380b09293e70be15cf4999bd2845caf5d01e
2017-10-03 12:41:46 +00:00
Ray Milkey
7bf273cecf Move deprecated flow batch APIs to a less obvious place
Change-Id: I8078aadbafad1e5a339d74859bed94e25c9c6e8c
2017-09-28 10:35:20 -07:00