Skip to content
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

Looking for Module to set Bandwidth size/name and share type of floating IP #250

Open
hadoopch opened this issue Jan 17, 2023 · 5 comments
Assignees
Labels
new_module New module required

Comments

@hadoopch
Copy link

Hi all,

i am looking for a module which has the capability to set bandwith size, bandwidth name and share type.
The existing module floating_ip does not have these options.

Maybe you can enhance the existing module.

Kind regards

Uli

@gtema
Copy link
Member

gtema commented Jan 17, 2023

floating_ip module will definitely not work for that, since bandwidth in OTC are not handeled as QoS in OpenStack and instead require invoking completely different apis. That means we are not able to extend floating_ip module of OpenStack.

@hadoopch
Copy link
Author

hadoopch commented Jan 17, 2023

Hi Artem,

then it would be great to have a new module which is able to do that.

If i use the REST-API i can create a FIP and set the bandwidth at the same time

POST https://{Endpoint}/v1/{project_id}/publicips

{
    "publicip": {
        "type": "5_bgp",
        "ip_version": 4
    },
    "bandwidth": {
        "name": "bandwidth123",
        "size": 10,
        "share_type": "PER"
    },
    "enterprise_project_id":"b261ac1f-2489-4bc7-b31b-c33c3346a439"

You are right if i want to adjust the Bandwith later i have to use a different URL.

PUT /v1/{project_id}/bandwidths/{bandwidth_id}

Regards

Uli

@gtema
Copy link
Member

gtema commented Jan 27, 2023

those apis are both non OpenStack ones. We take development of this module to the roadmap. Thanks

@gtema gtema added the new_module New module required label Jan 27, 2023
@hadoopch
Copy link
Author

Thank you for your support.

@Polina-Gubina
Copy link
Contributor

hi @hadoopch ! New modules were added: bandwidth and associate_bandwidth. With bandwidth you can create (assign), update and delete bandwidth and with associate_bandwidth you can assign eip to bandwidth or remove eip from bandwidth. Feel free to ask me questions if you have any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new_module New module required
Projects
None yet
Development

No branches or pull requests

3 participants