# Messaging topology generator (msg_topgen)
Package for generatate/load topology defined by graph/hosts. Also generate global variables for topology.
## Build/Test Status
[![Build Status](https://travis-ci.org/rh-messaging-qe/iqa-topology-generator.svg?branch=master)](https://travis-ci.org/rh-messaging-qe/iqa-topology-generator)
[![GitHub Issues](https://img.shields.io/github/issues/rh-messaging-qe/iqa-topology-generator.svg)](https://github.com/rh-messaging-qe/iqa-topology-generator/issues)
[![GitHub Issues](https://img.shields.io/github/issues-pr/rh-messaging-qe/iqa-topology-generator.svg)](https://github.com/rh-messaging-qe/iqa-topology-generator/pulls)
[![pypi](https://img.shields.io/pypi/v/msg_topgen.svg)](https://github.com/rh-messaging-qe/iqa-topology-generator)
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
## Configs
`config` dir contains two type of files:
- inventory (hosts with IP addresses and hostnames)
- graph.yml (graph of topology in yml format)
Root dir contains file `config.yml` with following informations:
- hostfile: configs/inventory
and one of these:
- graph_type: line_graph
- graph_file: configs/ref_graph_file.yml
Default graph types values:
| Name | Description |
|-------------------|----------------------|
| `line_graph` | Routers/broker are in one line (routers are in the middle of line) |
| `line_mix_graph` | Routers/broker are in one line (brokers are interleaved by routers) |
| `complete_graph` | Each node is connected with all other nodes |
| `bus_graph` | Routers are in line ad brokers are evenly distributed to routers |
| `circle_graph` | Line_mix_graph with connected border nodes |
You can see an examples of config file in `config.yml` in root directory. Examples of graph file are in `tests/items`.
`--help` provide you more information.
## Requirements
Python >= 2.7
## Install & Run
```bash
$ pip install msg-topgen
```
```bash
$ msg_topgen -c <CONFIG_FILE_PATH>
```
## Tests
### Requirements
[tox](https://tox.readthedocs.io/en/latest/)
### How to run tests
```bash
$ tox
```
## License
Apache 2.0
## Author Information
Messaging QE team @ redhat.com
Matthieu Simonin [(msimonin/qpid-dispatch-generator)](https://github.com/msimonin/qpid-dispatch-generator)
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- PID控制项目-(部分资料)智能看家狗设计方案.zip
- PID控制项目-SDB传感器驱动板应用教程及资料.zip
- PID控制项目-hub--DIY制作FE2.1模块USB 2.0 HUB集线器设计,附原理图PCBBOM.zip
- PID控制项目-磁悬浮-基于Arduino的简易磁悬浮装置原理图和源代码分享.zip
- PID控制项目-倒立摆-旋转倒立摆源码+PID库下载.zip
- PID控制项目-电机类- 完整资料开源,支持有感驱动和无感驱动的无刷直流电机驱动器.zip
- PID控制项目-电机类- 基于NRF24L01的PID电机转速控制器.zip
- PID控制项目-电机类- 直流有刷伺服控制系统制作方案+资料.zip
- 中文3DMAX星空图像生成器插件下载
- PID控制项目-电机类- 基于红外遥控的多功能智能电风扇控制器源码.zip
- PID控制项目-电机类-PID电机调速控制源码+参考资料.zip
- PID控制项目-电机类-超级牛的STM32 BLDC直流电机控制器设计,附原理图和源码.zip
- 小程序 hello world 尝鲜.zip
- PID控制项目-电机类-STM32驱动库分享,包括STD库和HAL库.zip
- PID控制项目-电机类-血液分离机直流电机PID速度调试系统,PCA8538实时显示.zip
- PID控制项目-电机类-开源工业伺服电机PID控制.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈