one
one copied to clipboard
OneFlow: Support VRouter in roles
Description It is required to enrich OneFlow Template syntax by supporting vrouters declaration. So that, VRouters will have the following syntax:
{
"name": "VNF",
"type": "vr",
"template_id": 3
"ha_mode": true,
"floating_ip": "3.246.34.2"
}
Here the description of each value:
| Property | Type | Description | Required/Optional |
|---|---|---|---|
name |
String | VRouter name | Required |
type |
String | Role type | Required |
template_id |
Integer | VRouter template id | Required |
ha_mode |
Boolean | HA mode | Optional |
floating_ip |
String | Floating IP | Optional |
With these changes, VM templates will be also affected, so vm_template will be renamed by template_id and their type will be vm.
Use case With this new feature VRouters will be declared from a OneFlow Template and make it easier the interaction with this kind of resource Interface Changes OneFlow API
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)