Page MenuHomeVyOS Platform

api set protocols static route fail
Closed, InvalidPublic

Description

cannot use set protocols static route

{'data': None,
 'error': 'An internal error occured. Check the logs for details.',
 'success': False}
{'op': 'set',
 'path': ['set',
          'protocols',
          'static',
          'route',
          '10.10.10.0/24',
          'next-hop',
          '10.3.0.1']}
{"op": "set", "path": ["set", "protocols", "static", "route", "10.10.10.0/24", "next-hop", "10.3.0.1"]}
{'key': '3eefe3be871568808a07ed5d7be31effe5b18f13', 'data': '{"op": "set", "path": ["set", "protocols", "static", "route", "10.10.10.0/24", "next-hop", "10.3.0.1"]}'}




400
<Response [400]>
{'data': None,
 'error': 'Configuration path: [set protocols static route 10.10.10.0/24 '
          'next-hop 10.3.0.1] is not valid\n'
          '\n'
          'Set failed\n',
 'success': False}
[06/May/2020 00:32:21] "POST /static/static HTTP/1.1" 200 4721

Version:          VyOS 1.3-rolling-202005040117
Release Train:    equuleus

Built by:         [email protected]
Built on:         Mon 04 May 2020 01:17 UTC
Build UUID:       ff77b444-8f2a-4170-9917-0874460ea6fd
Build Commit ID:  2cb6f390d7bdaa

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  Red Hat
Hardware model:   OpenStack Compute
Hardware S/N:     00000000-0000-0000-0000-0cc47af88ada
Hardware UUID:    d9c8f859-4d07-4019-9a10-fe80d8dc0764

Copyright:        VyOS maintainers and contributors

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)