- 26 Apr, 2016 19 commits
-
-
Removed old parsing logic. Now it uses Bmv2FlowRuleTranslator to translate ONOS flow rule into Bmv2 model-dependent table entries. Change-Id: I1febc23b334acade027e806c8a8c266acc061277
Carmelo Cascone authored -
In Bmv2, tables, header fields and actions all depend on the packet processing model configuration (Bmv2Model) currently deployed on the device. For this reason, translation is needed from protocol-aware ONOS FlowRule objects into properly formatted, protocol-independent Bmv2TableEntry objects. Translation is based on a TranslatorConfig that provides a mapping between ONOS types and Bmv2 model-dependent types. Change-Id: I620802c2024b5250867dc6b1b988b739177f582a
Carmelo Cascone authored -
translator (ONOS-4044) - Added new classes for different match parameters (exact, ternary, lpm, valid) - Divided api package in two sub-packages, model (previously under drivers) and runtime (old api package) - Improved Bmv2ThriftClient caching and table entry handling Change-Id: I23c174cf3e8f9f6ecddb99c2d09dc531e8f1c73f
Carmelo Cascone authored -
Such a model is used to define the way BMv2 should process packets (i.e. it defines the device ingress/egress pipelines, parser, tables, actions, etc.) and can be generated (i.e. JSON) by compiling a P4 program using p4c-bm. Change-Id: Ic08df68bed5a0261cb50b27dc7dbfe9d35e1fb71
Carmelo Cascone authored -
BMv2 devices can now be discovered (along with port informations) using net-cfg (see tools/test/config/bmv2-cfg.json) Change-Id: Ief2ca790dceb4d047b75aae6c5e1a89a05215e5f
Carmelo Cascone authored -
Provides Thrift-based implementation for FlowRuleProgrammable and PortDiscovery behaviours. Change-Id: Ibbf8720d92301bcd23c5c583d156f464015ff1ef
Carmelo Cascone authored -
- Add unit test for chartBuilder.js Change-Id: I2f5c56b878dda660c28af13ec0229b5ab3665156
Jian Li authored -
- Replace SRNextObjectiveContext with DefaultObjectiveContext - Move several log messages to lower log level Change-Id: Ice2fb598b8e4502cb4acee1a95235551ec7c8db7
Charles Chan authored -
The original value overflows the 16-bits allowed by OpenFlow so that example doesn't work very well for OpenFlow devices. Change-Id: I0b61404ff7ae6c542f92787c9e8ab5c7a2e058f1
Jonathan Hart authored -
- It never changes report period bacause of Default config - TODO: implement retriever and add some function Change-Id: I578c7fedefbe76f265dd43091588dd19d541ffa1
sangyun-han authored
- 25 Apr, 2016 14 commits
-
-
With this change we proactively fail map updates when serialization failures can occur and immediately notify the caller Change-Id: I62a8a84731b9c2a6eeff7fa6f8336dc74234bf30
Madan Jampani authored -
We now can use start-stop-daemon (debian), daemon() shell function (centos), or sudo (others) to start onos-service. It should be backward compatible on systemd systems. Tested on Ubuntu 14 and CentOS 6. Should also work on Ubuntu 15/16, CentOS 7, Debian, and Fedora. (Note that we should test this against various OSes, preferably automatically rather than manually!) Addresses at least part of ONOS-2907 Change-Id: I4ded98baf02321a5a9db37fdff19e1ce4a3d23d2
Bob Lantz authored
- 23 Apr, 2016 1 commit
-
-
- Change name: McastEventHandler -> McastHandler - Separate HostHandler from SRManager - Move storekeys to a dedicated package - Replace SRObjevtiveContext and BridgeTableObjectiveContext with DefaultObjectiveContext Change-Id: Iab25529487004759105e5ba60c1d2a3852ac45e6
Charles Chan authored
-
- 22 Apr, 2016 6 commits
-
-
Stream processes by Lambda queries in collection objects has a known performance bottleneck. For each create and update link data operations, this kind of queries are frequently used and this causes inefficient topology discovery operation. For to solve that problem i analize thread dump during discovery process and i saw that especially getAllProviders method uses high cpu. than i change the provider search operation with additional map data which holds linkkey and its providers. by this way provider search operation not only gets faster but also uses minimum resource. Before that change, i can discover only 4XX number of switches at one controller, but later number grows to 15XX switches Change-Id: I65ed71b7f295917c818b2f9227d0fc070aa4a29b
kircaali authored