docker / engine-api

DEPRECATED: Please see https://github.com/docker/docker/tree/master/client
Apache License 2.0
264 stars 163 forks source link

add support for net_cls and net_prio #384

Closed FengtuWang closed 8 years ago

FengtuWang commented 8 years ago

net_cls is used to set the priority of network traffic, corresponding ClassID. net_prio is used to tag network packets with a class identifier, corresponding Priorities.

Signed-off-by: Fengtu Wang wangfengtu@huawei.com

FengtuWang commented 8 years ago

changelist: In struct Resources, add prefix to Priorities and ClassID. Priorities --> IfPriorities ClassID --> NetClassID

crosbymichael commented 8 years ago

Thanks for this PR.

We have moved the code from this repo back into the main docker/docker repository; if you still wish to make this change you will need to reopen this PR on the main repo.

You can find the code for the client and types here:

https://github.com/docker/docker/tree/master/api/types https://github.com/docker/docker/tree/master/client

Sorry for the inconvenience but making this change helps people better contribute and not have the vendor mess going forward when changing the types or client for Docker.

Sorry about that and feel free to ask if you have any questions.