-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async Runtime #65
Async Runtime #65
Commits on Dec 26, 2013
-
Configuration menu - View commit details
-
Copy full SHA for b30762b - Browse repository at this point
Copy the full SHA b30762bView commit details -
async: add OpenFlow_Header module
This module was reimplemented in three different places.
Configuration menu - View commit details
-
Copy full SHA for 9d56a61 - Browse repository at this point
Copy the full SHA 9d56a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 664c688 - Browse repository at this point
Copy the full SHA 664c688View commit details -
async: removed version-specific Header modules
These are now using OpenFlow_Header.
Configuration menu - View commit details
-
Copy full SHA for 1f810cf - Browse repository at this point
Copy the full SHA 1f810cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb17cae - Browse repository at this point
Copy the full SHA eb17caeView commit details -
async: xid type is now in OpenFlow_Header
Eventually, remove all aliases to this type.
Configuration menu - View commit details
-
Copy full SHA for ea665bb - Browse repository at this point
Copy the full SHA ea665bbView commit details
Commits on Dec 27, 2013
-
Configuration menu - View commit details
-
Copy full SHA for ca87f07 - Browse repository at this point
Copy the full SHA ca87f07View commit details -
async: added Async_Platform.Message wrappers
Added wrappers for 1.0, 1.3, and uninterpreted chunks. This allows the platform to be instantiated with any of these protocols.
Configuration menu - View commit details
-
Copy full SHA for 8d54eec - Browse repository at this point
Copy the full SHA 8d54eecView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8c9d94 - Browse repository at this point
Copy the full SHA e8c9d94View commit details -
:async Async_OpenFlow is the interface
Do not bother creating any other .mli files. Instead, expose all new modules as submodules of Async_OpenFlow. This keeps the module namespace tidy.
Configuration menu - View commit details
-
Copy full SHA for d22db7a - Browse repository at this point
Copy the full SHA d22db7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb1549c - Browse repository at this point
Copy the full SHA bb1549cView commit details -
async: moved the Message signature out of Platform.
This signature is also useful when writing clients
Configuration menu - View commit details
-
Copy full SHA for 7d29066 - Browse repository at this point
Copy the full SHA 7d29066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a8a85 - Browse repository at this point
Copy the full SHA 70a8a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78eb5a2 - Browse repository at this point
Copy the full SHA 78eb5a2View commit details -
Merge branch 'final-async' of github.com:frenetic-lang/ocaml-openflow…
… into final-async
Configuration menu - View commit details
-
Copy full SHA for 3b88a3e - Browse repository at this point
Copy the full SHA 3b88a3eView commit details -
async: Async_OpenFlow.ClientServer
- This is a lower level interface than Async_OpenFlow.Platform. - Serialization code has been factored out of Platform, since it is shared by both.
Configuration menu - View commit details
-
Copy full SHA for 16d39c5 - Browse repository at this point
Copy the full SHA 16d39c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9049eb6 - Browse repository at this point
Copy the full SHA 9049eb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bea9fb - Browse repository at this point
Copy the full SHA 6bea9fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ad6c65 - Browse repository at this point
Copy the full SHA 7ad6c65View commit details -
async: link with core and still run tests
See the comment at the end of test/Test.ml which explains the change. Notice that the test command in _oasis has also been updated. I've changed OpenFlow_Header to actully use core to demonstrate that make test doesn't hang. @seliopou
Configuration menu - View commit details
-
Copy full SHA for de37c24 - Browse repository at this point
Copy the full SHA de37c24View commit details -
async: marshal returns unit and only marshals body
Two simplifications: - Message.marshal returns () instead of the number of bytes written. The length of the header specifies exactly how many bytes to write. In fact, we were ignoring the returned int everywhere. - Message.marshal now only marshals the body. The generic portion of the serializer marshals the header. This makes it possible to convert between chunks and parsed messages. It is also more consistent, since deserialization does not parse the header.
Configuration menu - View commit details
-
Copy full SHA for adc0d15 - Browse repository at this point
Copy the full SHA adc0d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bc4e4 - Browse repository at this point
Copy the full SHA 30bc4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8461985 - Browse repository at this point
Copy the full SHA 8461985View commit details -
Configuration menu - View commit details
-
Copy full SHA for c88f6be - Browse repository at this point
Copy the full SHA c88f6beView commit details -
Configuration menu - View commit details
-
Copy full SHA for da30c66 - Browse repository at this point
Copy the full SHA da30c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for f063703 - Browse repository at this point
Copy the full SHA f063703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c8764 - Browse repository at this point
Copy the full SHA 09c8764View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d1466d - Browse repository at this point
Copy the full SHA 5d1466dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a05f9 - Browse repository at this point
Copy the full SHA 85a05f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6018b89 - Browse repository at this point
Copy the full SHA 6018b89View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 5d7fe89 - Browse repository at this point
Copy the full SHA 5d7fe89View commit details -
async: robustness for ClientServer module
- If the socket closes, we also close the pipes carrying parsed messages - Evaluate getpeername eagerly. It will throw an exception if applied to a closed socket. (!!!) - Ignore errors signalled by a handler (default behavior is to stop listening). In the future, we might want to print an error instead, but stop-listening is sort of ridiculous.
Configuration menu - View commit details
-
Copy full SHA for 0b5eb36 - Browse repository at this point
Copy the full SHA 0b5eb36View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea08911 - Browse repository at this point
Copy the full SHA ea08911View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a395d - Browse repository at this point
Copy the full SHA 46a395dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4c5372 - Browse repository at this point
Copy the full SHA d4c5372View commit details
Commits on Dec 28, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 4a676e5 - Browse repository at this point
Copy the full SHA 4a676e5View commit details
Commits on Dec 29, 2013
-
async: Add Trans submodule to Platform
The Trans module contains functions for composing and running platform programs. Currently this module only exports the compose operation for combining stages, which Kleisli composition for Deferred options, though it also acts to pass along the first argument of the stage, in a reader monad-esque way.
2Configuration menu - View commit details
-
Copy full SHA for 8c40000 - Browse repository at this point
Copy the full SHA 8c40000View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 3e043ca - Browse repository at this point
Copy the full SHA 3e043caView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 0e5640e - Browse repository at this point
Copy the full SHA 0e5640eView commit details -
of: all xid types refer to OpenFlow_Header.xid
Directly or indirectly, now all xid types in every module is a synonym for OpenFlow_Header.xid.
1Configuration menu - View commit details
-
Copy full SHA for 0848333 - Browse repository at this point
Copy the full SHA 0848333View commit details
Commits on Dec 30, 2013
-
of: constants for common protocol message types
OF0x01 and OF0x04 share many common message types. Define some of these, in particular the ones that are necessary for a minimal handshake.
1Configuration menu - View commit details
-
Copy full SHA for bbf0591 - Browse repository at this point
Copy the full SHA bbf0591View commit details -
async: Add local to Platform.Trans
This is equivalent to the local function in a reader monad. Transform the read value for some sub-computation.
3Configuration menu - View commit details
-
Copy full SHA for ae1d50e - Browse repository at this point
Copy the full SHA ae1d50eView commit details -
async: Add allocating marshal' to Message interface
marshal' is just like marshal except it performs the necessary allocation. Its return type is also the Chunk type, which is at times convenient.
3Configuration menu - View commit details
-
Copy full SHA for cafc426 - Browse repository at this point
Copy the full SHA cafc426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62cc4a0 - Browse repository at this point
Copy the full SHA 62cc4a0View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 2415f63 - Browse repository at this point
Copy the full SHA 2415f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a55856 - Browse repository at this point
Copy the full SHA 5a55856View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 9d3b6f7 - Browse repository at this point
Copy the full SHA 9d3b6f7View commit details
Commits on Dec 31, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 9542372 - Browse repository at this point
Copy the full SHA 9542372View commit details -
async: Rename Switch_id to Client_id
The previous naming was confusing given that a switch identifier means something within the context of OpenFlow. Rename Switch_id to Client_id, things that identify client connections to the server.
Configuration menu - View commit details
-
Copy full SHA for 16a316e - Browse repository at this point
Copy the full SHA 16a316eView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 7df846a - Browse repository at this point
Copy the full SHA 7df846aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e53648 - Browse repository at this point
Copy the full SHA 8e53648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e00775 - Browse repository at this point
Copy the full SHA 6e00775View commit details -
3
Configuration menu - View commit details
-
Copy full SHA for 6d7c813 - Browse repository at this point
Copy the full SHA 6d7c813View commit details
Commits on Jan 1, 2014
-
Configuration menu - View commit details
-
Copy full SHA for ded377c - Browse repository at this point
Copy the full SHA ded377cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03cbd1e - Browse repository at this point
Copy the full SHA 03cbd1eView commit details
Commits on Jan 2, 2014
-
3
Configuration menu - View commit details
-
Copy full SHA for 1f7eaf4 - Browse repository at this point
Copy the full SHA 1f7eaf4View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for dc9f884 - Browse repository at this point
Copy the full SHA dc9f884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5793134 - Browse repository at this point
Copy the full SHA 5793134View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd3e9a - Browse repository at this point
Copy the full SHA 0fd3e9aView commit details -
async: combined handshake into one function
No need to split up init and finish into two different stages.
Configuration menu - View commit details
-
Copy full SHA for e4495b6 - Browse repository at this point
Copy the full SHA e4495b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed3814 - Browse repository at this point
Copy the full SHA 5ed3814View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1bf893 - Browse repository at this point
Copy the full SHA d1bf893View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f87b05 - Browse repository at this point
Copy the full SHA 5f87b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3e9ff - Browse repository at this point
Copy the full SHA 3d3e9ffView commit details
Commits on Jan 3, 2014
-
Configuration menu - View commit details
-
Copy full SHA for f7a3b39 - Browse repository at this point
Copy the full SHA f7a3b39View commit details -
async: fix use of port_description_request_msg
It is now a constant instead of a function.
Configuration menu - View commit details
-
Copy full SHA for 3c12bfa - Browse repository at this point
Copy the full SHA 3c12bfaView commit details
Commits on Jan 5, 2014
-
--enable-tests --enable-quickcheck tweak
--enable-tests *always* builds the test suite and openflow.quickcheck, which the tests require --enable-quickcheck builds openflow.quickcheck, but not the test suite
Configuration menu - View commit details
-
Copy full SHA for ca8c05d - Browse repository at this point
Copy the full SHA ca8c05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1fe60 - Browse repository at this point
Copy the full SHA 4f1fe60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8885660 - Browse repository at this point
Copy the full SHA 8885660View commit details -
Based on the Cstruct Makefile: https://github.com/avsm/ocaml-cstruct/blob/master/Makefile Key features: - "make clean" deletes setup.data, which is generated by configure - make builds the async submodule if async is installed (and similarly for lwt and quickcheck)
Configuration menu - View commit details
-
Copy full SHA for 23f27e3 - Browse repository at this point
Copy the full SHA 23f27e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e594f4 - Browse repository at this point
Copy the full SHA 4e594f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48cac44 - Browse repository at this point
Copy the full SHA 48cac44View commit details -
fix to tag-based log filtering
I had a variable-shadowing bug in earlier code.
Configuration menu - View commit details
-
Copy full SHA for f166ae6 - Browse repository at this point
Copy the full SHA f166ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d77fe5 - Browse repository at this point
Copy the full SHA 2d77fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1cac2c - Browse repository at this point
Copy the full SHA a1cac2cView commit details -
4
Configuration menu - View commit details
-
Copy full SHA for e522ec0 - Browse repository at this point
Copy the full SHA e522ec0View commit details
Commits on Jan 8, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 5884ab0 - Browse repository at this point
Copy the full SHA 5884ab0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00012c2 - Browse repository at this point
Copy the full SHA 00012c2View commit details
Commits on Jan 9, 2014
-
Configuration menu - View commit details
-
Copy full SHA for fe30da6 - Browse repository at this point
Copy the full SHA fe30da6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 678096f - Browse repository at this point
Copy the full SHA 678096fView commit details -
async: Remove redundant debugging
That info was already being printed at the DEBUG level. Move logging down the next state, in which a message is received from a client with an unknown state. (An error that should never happen.)
Configuration menu - View commit details
-
Copy full SHA for 5d791da - Browse repository at this point
Copy the full SHA 5d791daView commit details -
async: Make Highlevel interface conformant
All modules are exposed through the Async_OpenFlow.mli file.
Configuration menu - View commit details
-
Copy full SHA for e1ebe7b - Browse repository at this point
Copy the full SHA e1ebe7bView commit details
Commits on Jan 10, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 3f8818a - Browse repository at this point
Copy the full SHA 3f8818aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b99f264 - Browse repository at this point
Copy the full SHA b99f264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37e1664 - Browse repository at this point
Copy the full SHA 37e1664View commit details -
Configuration menu - View commit details
-
Copy full SHA for be274b4 - Browse repository at this point
Copy the full SHA be274b4View commit details -
async: Remove redundant Async_Highlevel export
This is already being exported by Asyc_Openflow, and no longer has an .mli file anyways.
Configuration menu - View commit details
-
Copy full SHA for db8494a - Browse repository at this point
Copy the full SHA db8494aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b377b8a - Browse repository at this point
Copy the full SHA b377b8aView commit details