Skip to content

adding bandwidth allotment to VirtualServerOrder.rb #108

Open

Description

@jinho10

I found that the bandwidth allocation is missing.. in VirtualServerOrder.rb. Do you have any plan to add one? Looking through the server object, the following parameter can be added...

bandwidthAllocation
A computing instance's allotted bandwidth (measured in GB).
Type: decimal

any necessary functions like getting list of options can also be added in the file. thanks.

Activity

  1. SLsthompson commented on Jan 18, 2016

    @SLsthompson
    Collaborator

    We do not currently have plans to add any additional parameters to the VirtualServerOrder, but I can take this as a request to add one. In the mean time you can add any parameters to the order template that you want. Simply pass a block to verify or place_order!. The block should take one parameter that is the incoming order template. You may modify the template as you like (adding a bandwidthAllocation argument) and return the modified template. That is the template that will be verified or placed.

  2. jinho10 commented on Jan 24, 2016

    @jinho10
    Author

    thanks for the replay. I already modified my local library to include the bandwidthAllocation, but it would be great to install off-the-shelf ruby library that already supports it without special modification. Since the bandwidth allocation has various options now with very different prices, it would also make sense to include that parameter as a passing parameter. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions