nodl_to_policy package from nodl_to_policy reponodl_to_policy |
|
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/osrf/nodl_to_policy.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Abrar Rahman Protyasha
Authors
- Abrar Rahman Protyasha
nodl_to_policy
This repository contains tooling to generate a ROS 2 Access Control Policy from the Node Interface Definition Language (NoDL) description of a ROS system (or that of a specific package), primarily to be used in conjunction with the SROS2
utilities.
Building
- Clone this repository to a ROS workspace:
git clone git@github.com:osrf/nodl_to_policy.git <ws/src>/nodl_to_policy
- Install required dependencies:
rosdep install -yri --from-paths <ws/src> --rosdistro=galactic
- Build with:
colcon build --symlink-install
Usage
CLI
The nodl_to_policy
package extends the ROS 2 CLI by adding a nodl_to_policy
command, with an associated convert
verb.
The expected use is as follows:
ros2 nodl_to_policy convert <path-to-NoDL-file (*.nodl.xml)>
Invoking the convert
verb as above dumps the resulting access control policy in the console standard output.
If desired, this output can be redirected (>
) to <output>.policy.xml
.
API
The NoDL → policy conversion method simply takes a NoDL description (type: List[nodl.Node]
).
As such, the conversion API could be used programmatically as follows:
from nodl_to_python.policy import convert_to_policy
# obtain a NoDL description, either through `nodl.parse(<nodl_file_path>)` or otherwise
policy = convert_to_policy(nodl_description) # type(nodl_description) == List[nodl.Node]
# use policy, and/or output it using `nodl.dump_policy(policy, <output_stream>)`
Changelog for package nodl_to_policy
Forthcoming
- Inital release.
- Contributors: Abrar Rahman Protyasha, Chris Lalancette
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
nodl_python | |
ros2cli | |
ros2nodl | |
ros2run | |
sros2 | |
ament_copyright | |
ament_flake8 | |
ament_lint_auto | |
ament_mypy | |
ament_pep257 | |
ament_pycodestyle | |
ros_testing | |
test_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
ros2launch_security_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged nodl_to_policy at Robotics Stack Exchange
nodl_to_policy package from nodl_to_policy reponodl_to_policy |
|
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/osrf/nodl_to_policy.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Abrar Rahman Protyasha
Authors
- Abrar Rahman Protyasha
nodl_to_policy
This repository contains tooling to generate a ROS 2 Access Control Policy from the Node Interface Definition Language (NoDL) description of a ROS system (or that of a specific package), primarily to be used in conjunction with the SROS2
utilities.
Building
- Clone this repository to a ROS workspace:
git clone git@github.com:osrf/nodl_to_policy.git <ws/src>/nodl_to_policy
- Install required dependencies:
rosdep install -yri --from-paths <ws/src> --rosdistro=galactic
- Build with:
colcon build --symlink-install
Usage
CLI
The nodl_to_policy
package extends the ROS 2 CLI by adding a nodl_to_policy
command, with an associated convert
verb.
The expected use is as follows:
ros2 nodl_to_policy convert <path-to-NoDL-file (*.nodl.xml)>
Invoking the convert
verb as above dumps the resulting access control policy in the console standard output.
If desired, this output can be redirected (>
) to <output>.policy.xml
.
API
The NoDL → policy conversion method simply takes a NoDL description (type: List[nodl.Node]
).
As such, the conversion API could be used programmatically as follows:
from nodl_to_python.policy import convert_to_policy
# obtain a NoDL description, either through `nodl.parse(<nodl_file_path>)` or otherwise
policy = convert_to_policy(nodl_description) # type(nodl_description) == List[nodl.Node]
# use policy, and/or output it using `nodl.dump_policy(policy, <output_stream>)`
Changelog for package nodl_to_policy
Forthcoming
- Inital release.
- Contributors: Abrar Rahman Protyasha, Chris Lalancette
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
nodl_python | |
ros2cli | |
ros2nodl | |
ros2run | |
sros2 | |
ament_copyright | |
ament_flake8 | |
ament_lint_auto | |
ament_mypy | |
ament_pep257 | |
ament_pycodestyle | |
ros_testing | |
test_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
ros2launch_security_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged nodl_to_policy at Robotics Stack Exchange
nodl_to_policy package from nodl_to_policy reponodl_to_policy |
|
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/osrf/nodl_to_policy.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Abrar Rahman Protyasha
Authors
- Abrar Rahman Protyasha
nodl_to_policy
This repository contains tooling to generate a ROS 2 Access Control Policy from the Node Interface Definition Language (NoDL) description of a ROS system (or that of a specific package), primarily to be used in conjunction with the SROS2
utilities.
Building
- Clone this repository to a ROS workspace:
git clone git@github.com:osrf/nodl_to_policy.git <ws/src>/nodl_to_policy
- Install required dependencies:
rosdep install -yri --from-paths <ws/src> --rosdistro=galactic
- Build with:
colcon build --symlink-install
Usage
CLI
The nodl_to_policy
package extends the ROS 2 CLI by adding a nodl_to_policy
command, with an associated convert
verb.
The expected use is as follows:
ros2 nodl_to_policy convert <path-to-NoDL-file (*.nodl.xml)>
Invoking the convert
verb as above dumps the resulting access control policy in the console standard output.
If desired, this output can be redirected (>
) to <output>.policy.xml
.
API
The NoDL → policy conversion method simply takes a NoDL description (type: List[nodl.Node]
).
As such, the conversion API could be used programmatically as follows:
from nodl_to_python.policy import convert_to_policy
# obtain a NoDL description, either through `nodl.parse(<nodl_file_path>)` or otherwise
policy = convert_to_policy(nodl_description) # type(nodl_description) == List[nodl.Node]
# use policy, and/or output it using `nodl.dump_policy(policy, <output_stream>)`
Changelog for package nodl_to_policy
Forthcoming
- Inital release.
- Contributors: Abrar Rahman Protyasha, Chris Lalancette
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
nodl_python | |
ros2cli | |
ros2nodl | |
ros2run | |
sros2 | |
ament_copyright | |
ament_flake8 | |
ament_lint_auto | |
ament_mypy | |
ament_pep257 | |
ament_pycodestyle | |
ros_testing | |
test_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
ros2launch_security_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged nodl_to_policy at Robotics Stack Exchange
nodl_to_policy package from nodl_to_policy reponodl_to_policy |
|
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/osrf/nodl_to_policy.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Abrar Rahman Protyasha
Authors
- Abrar Rahman Protyasha
nodl_to_policy
This repository contains tooling to generate a ROS 2 Access Control Policy from the Node Interface Definition Language (NoDL) description of a ROS system (or that of a specific package), primarily to be used in conjunction with the SROS2
utilities.
Building
- Clone this repository to a ROS workspace:
git clone git@github.com:osrf/nodl_to_policy.git <ws/src>/nodl_to_policy
- Install required dependencies:
rosdep install -yri --from-paths <ws/src> --rosdistro=galactic
- Build with:
colcon build --symlink-install
Usage
CLI
The nodl_to_policy
package extends the ROS 2 CLI by adding a nodl_to_policy
command, with an associated convert
verb.
The expected use is as follows:
ros2 nodl_to_policy convert <path-to-NoDL-file (*.nodl.xml)>
Invoking the convert
verb as above dumps the resulting access control policy in the console standard output.
If desired, this output can be redirected (>
) to <output>.policy.xml
.
API
The NoDL → policy conversion method simply takes a NoDL description (type: List[nodl.Node]
).
As such, the conversion API could be used programmatically as follows:
from nodl_to_python.policy import convert_to_policy
# obtain a NoDL description, either through `nodl.parse(<nodl_file_path>)` or otherwise
policy = convert_to_policy(nodl_description) # type(nodl_description) == List[nodl.Node]
# use policy, and/or output it using `nodl.dump_policy(policy, <output_stream>)`
Changelog for package nodl_to_policy
Forthcoming
- Inital release.
- Contributors: Abrar Rahman Protyasha, Chris Lalancette
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
nodl_python | |
ros2cli | |
ros2nodl | |
ros2run | |
sros2 | |
ament_copyright | |
ament_flake8 | |
ament_lint_auto | |
ament_mypy | |
ament_pep257 | |
ament_pycodestyle | |
ros_testing | |
test_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
ros2launch_security_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged nodl_to_policy at Robotics Stack Exchange
nodl_to_policy package from nodl_to_policy reponodl_to_policy |
|
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | Apache License 2.0 |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/osrf/nodl_to_policy.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Abrar Rahman Protyasha
Authors
- Abrar Rahman Protyasha
nodl_to_policy
This repository contains tooling to generate a ROS 2 Access Control Policy from the Node Interface Definition Language (NoDL) description of a ROS system (or that of a specific package), primarily to be used in conjunction with the SROS2
utilities.
Building
- Clone this repository to a ROS workspace:
git clone git@github.com:osrf/nodl_to_policy.git <ws/src>/nodl_to_policy
- Install required dependencies:
rosdep install -yri --from-paths <ws/src> --rosdistro=galactic
- Build with:
colcon build --symlink-install
Usage
CLI
The nodl_to_policy
package extends the ROS 2 CLI by adding a nodl_to_policy
command, with an associated convert
verb.
The expected use is as follows:
ros2 nodl_to_policy convert <path-to-NoDL-file (*.nodl.xml)>
Invoking the convert
verb as above dumps the resulting access control policy in the console standard output.
If desired, this output can be redirected (>
) to <output>.policy.xml
.
API
The NoDL → policy conversion method simply takes a NoDL description (type: List[nodl.Node]
).
As such, the conversion API could be used programmatically as follows:
from nodl_to_python.policy import convert_to_policy
# obtain a NoDL description, either through `nodl.parse(<nodl_file_path>)` or otherwise
policy = convert_to_policy(nodl_description) # type(nodl_description) == List[nodl.Node]
# use policy, and/or output it using `nodl.dump_policy(policy, <output_stream>)`
Changelog for package nodl_to_policy
Forthcoming
- Inital release.
- Contributors: Abrar Rahman Protyasha, Chris Lalancette
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
nodl_python | |
ros2cli | |
ros2nodl | |
ros2run | |
sros2 | |
ament_copyright | |
ament_flake8 | |
ament_lint_auto | |
ament_mypy | |
ament_pep257 | |
ament_pycodestyle | |
ros_testing | |
test_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
ros2launch_security_examples |