ralph icon indicating copy to clipboard operation
ralph copied to clipboard

Cannot set gateway via Networks API

Open vi4m opened this issue 6 years ago • 2 comments

Steps to reproduce

echo '{"name": "test", "gateway": { "id": 1 }}' | http PATCH http://localhost:8000/api/networks/1/ Authorization:"Token ..."

Expected behavior

{
   ...
    "gateway": {"id": 1},
 ....
}

Actual behavior

{
   ...
    "gateway": {}
 ....
}

Environment

Master

vi4m avatar Feb 28 '19 11:02 vi4m

Any progress ?

Same issue here

schka17 avatar Apr 30 '20 14:04 schka17

Any progress? This issue is really annoying as it prevents automating the addition of hundreds of networks via API. Furthermore setting the gateway via web GUI is simple, so it is quite surprising the same feature is not available programmatically.

fmelaccio avatar Jun 09 '23 06:06 fmelaccio