-
Notifications
You must be signed in to change notification settings - Fork 81
Add a Network service #571
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
Merged
Merged
Changes from 66 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
abc520b
Add o.o.Agama.Network1 to the D-Bus configuration
imobachgs 5712b2d
Add an agama-network package
imobachgs a032669
Add agama-network dependencies
imobachgs c82bf0b
Add a basic NetworkManager client
imobachgs fcbd519
Export network devices on D-Bus
imobachgs 86f6a29
Add a missing error.rs file
imobachgs c71717d
Export network connections on D-Bus
imobachgs d9ce0b3
Read and expose IPv4 addresses
imobachgs b79f2d9
Export nameservers on network D-Bus
imobachgs 9cb8d95
Export gateways on network D-Bus interface
imobachgs d9f7b91
Export wireless settings on D-Bus
imobachgs 13015b4
Update the network support design document
imobachgs 1b3a707
Remove unused 'use' statements
imobachgs 1c6b074
Remove the unused 'applied_connections' method
imobachgs 7aaf53f
Test the conversion from D-Bus to the NetworkManager model
imobachgs 922dd54
Use an index for the published device interfaces
teclator 160808b
Publish devices interface
teclator b04bf43
Publish connections interface
teclator 6ebf188
Simplify the network service building
imobachgs 47c47ea
Refactor object paths handling in the network service
imobachgs 5b43a94
GetDevices and GetConnections returns ao
imobachgs b8d9969
Remove 'network' from interfaces::Connection
imobachgs fdf8434
Avoid unneeded copies of strings
imobachgs 0e0463f
Extend agama-network configuration
imobachgs 2958086
Move the logic to read the network to NetworkState
imobachgs 2196935
Add some documentation to agama-network
imobachgs 0787522
Minor documentation changes
imobachgs 155aca8
Use o.o.A.N.Connection.* for D-Bus connection interfaces
imobachgs f226893
Extend the agama-network documentation
imobachgs ef5a59b
Drop redundant code
imobachgs 766755e
Reduce the complexity of the network service
imobachgs a51fdee
Fix a footnote in network documentation
imobachgs 9b4f13d
Allow setting IPv4 settings through D-Bus
imobachgs f006b40
Base with_ipv4 on with_ipv4_mut
imobachgs 8668c25
Allow setting wireless settings through D-Bus
imobachgs eed3964
Read and expose the connections uuid
imobachgs cb6c248
Convert a network Connection into a D-Bus HashMap
imobachgs 87bafbd
Add a D-Bus action to update a network connection
imobachgs e61eccf
Make network D-Bus naming consistent with storage
imobachgs e6f9ec8
Add methods to add, update and remove connections
imobachgs 70c184d
Use NetworkState#update_connection on D-Bus
imobachgs f42c1d1
Add a D-Bus action to add a network connection
imobachgs 6ce9ce8
Extract the logic to update the network D-Bus tree
imobachgs 448f88c
Improve ObjectsPaths API
imobachgs 8328f7d
Add support to add/remove network connections
imobachgs 41c21c8
Rename ObjectsPaths to ObjectsRegistry
imobachgs c0c36f8
Use a Connection clone as AddConnection payload
imobachgs 9e10c54
Improve naming of TreeManager
imobachgs 0edba92
Identify network connections by UUID
imobachgs 95e472b
Wrap NetworkState in a NetworkSystem struct
imobachgs 43a7ff3
D-Bus interfaces work with an Arc to a Connection
imobachgs 8d733a4
Rename TreeManager to Tree
imobachgs ad456d4
Remove unneeded fields from network interfaces
imobachgs f602c1d
Clean and document the Tree struct
imobachgs aac9e53
Write NetworkManager settings
imobachgs cc2e32d
Implement SetSecurity in the networking service
imobachgs ffe61dc
Replace the Mutex with a channel in the network service
imobachgs cf5de1f
Remove unused code in the NetworkManager client
imobachgs 607fd9e
Update the network service documentation
imobachgs 8610be4
Use the proper value for wireless infrastructure mode
imobachgs 321b1ec
Add support to network loopback devices
imobachgs 8f8cfb3
Merge network connections configuration
imobachgs d7d1aef
Drop unused error variants
imobachgs 90389e5
Merge branch 'master' into network-service-2
imobachgs bfed626
agama-dbus-server starts the network service
imobachgs 0d1defa
Only consider loopback, ethernet and wireless devices
imobachgs c9cfe6f
Use a more consistent naming for locale and network services
imobachgs d3ef322
Use rustfmt to format locale.rs
imobachgs b1ef6fd
Expose the DeviceType as Type
imobachgs 8667ac6
Fix documentation
imobachgs 84dd76b
Allow unsetting the gateway in the network service
imobachgs 4bd6d48
Fix error about not getting the network service name
imobachgs 43ca226
Improve the network Tree API to prevent errors
imobachgs 7f97961
Rename refresh_* functions to set_*
imobachgs 113dc9c
Remove an unneeded comment
imobachgs 28204c9
Rename unused file
imobachgs 936f544
Fix connection type detection in network service
imobachgs 0c43818
Improve handling of NmMethod and NmDeviceType
imobachgs b1cba3c
Move *NestedHash types to agama-lib
imobachgs a606556
Rename Missing/is_missing to Removed/is_removed
imobachgs 62cca58
Fix the documentation
imobachgs dc54189
Use HashMap::with_capacity in merge_dbus_connections
imobachgs 513fc5b
Use Vec::with_capacity in the NetworkManager client
imobachgs 82a8a91
Add a TODO to write a macro for the base_* functions
imobachgs f532a19
Bring back text about D-Bus proxies
imobachgs d211e3e
Use HashMap::with_capacity
imobachgs dc1ff0a
Improve handling of wireless settings
imobachgs fc16172
Remove WirelessMode::Other
imobachgs edcf0e3
doc/dbus: seeded introspection XML for Network1.*
mvidner 73ca602
doc/dbus: copied to .doc.xml and kept only relevant interface
mvidner 82a3b8d
doc/dbus: added headings so that gdbus-codegen sees the docs
mvidner 649b16a
Fix objects paths
imobachgs 36c4837
Log the device name for unsupported types
imobachgs e23a865
Improve documentation
imobachgs 55e0324
Replace ty with type_
imobachgs fd6f821
Do not send the 'addresses' key
imobachgs de0dad2
Apply suggestions from code review
imobachgs c19bfee
Add a TODO about using OwnedObjectPath
imobachgs 5141cb9
Update the changes file
imobachgs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.