summaryrefslogtreecommitdiff
path: root/src/services
AgeCommit message (Collapse)Author
2022-07-24graphql: T3993: use existing key auth from REST frameworkJohn Estabrook
2022-05-26http-api: T4442: Add action resetViacheslav Hletenko
Add action 'reset' (op-mode) for HTTP-API http://localhost/reset curl --unix-socket /run/api.sock -X POST -Fkey=mykey \ -Fdata='{"op": "reset", "path": ["ip", "bgp", "192.0.2.14"]}' \ http://localhost/reset
2022-04-16dns: T4353: fix Jinja2 linting errorsChristian Poessinger
2022-04-07http api: T4347: return complete and consistent error codesJohn Estabrook
2022-03-27graphql: T3993: add unsettable gql option; this is not exposed by CLIJohn Estabrook
2021-12-15http-api: T4076: allow setting CORS option 'Access-Control-Allow-Origin'John Estabrook
2021-12-13http-api: T4071: allow API to bind to unix domain socketJohn Estabrook
2021-12-12graphql: T3993: add requests for firewall ipv6-address-groupJohn Estabrook
2021-12-12graphql: T3993: distinguish queries and mutations; update README.graphqlJohn Estabrook
2021-12-11vyos.util: T4061: fix typo in function nameJohn Estabrook
2021-12-10T562: bugfix missing "," on variable listingChristian Poessinger
This prevented VyOS to actually boot as the configuration could not be loaded, as "system host-name" was unable to commit.
2021-12-09Merge pull request #1024 from lucasec/dns-authoritativeChristian Poessinger
T562: Config syntax for defining DNS forward authoritative zones
2021-12-08vyos.util: T4061: add function to check for completion of boot configJohn Estabrook
2021-12-01graphql: T3993: define add/delete system image requestJohn Estabrook
2021-12-01graphql: T3993: update README.graphqlJohn Estabrook
2021-11-30graphql: T3993: add config session show_configJohn Estabrook
Note that one can also use the mutation Show, with path ["configuration", "json", "pretty"]; that command will obscure passwords and keys, and we may want to disallow this version.
2021-11-30graphql: T3993: add op-mode requestsJohn Estabrook
2021-11-24graphql: T3993: add requests for manipulating firewall groupsJohn Estabrook
2021-11-23graphql: T3993: refactor directive and mutation definitionsJohn Estabrook
2021-11-22graphql: T3993: normalize naming conventionsJohn Estabrook
2021-11-22graphql: T3993: change name of directiveJohn Estabrook
2021-11-22graphql: T3993: update README.graphqlJohn Estabrook
2021-11-15graphql: T3993: add config file save/loadJohn Estabrook
2021-11-15graphql: T3993: move schema generation to bindings.py; clean up for lintingJohn Estabrook
2021-11-07http-api: T2768: update dhcp-server example for migration 5-to-6John Estabrook
2021-10-22hosts: T2683: Allow multiple entries for static-host-mappingViacheslav
2021-10-12T562: Config syntax for defining DNS forward authoritative zonesLucas Christian
2021-08-06http-api: T2768: add README.graphqlJohn Estabrook
2021-08-06http-api: T2768: example using GraphQL for high-level config operationsJohn Estabrook
2021-08-06Revert "http-api: T2768: example using GraphQL for high-level config operations"John Estabrook
This reverts commit a2b959c50c96698da173b9c4720369a51442cc5c.
2021-08-06Revert "http-api: T2768: add README.graphql"John Estabrook
This reverts commit 4a9063f755b72786c3c5928b2fa74cf1aa935129.
2021-08-06http-api: T2768: add README.graphqlJohn Estabrook
2021-08-06http-api: T2768: example using GraphQL for high-level config operationsJohn Estabrook
2021-07-29configd: T3694: always set script.argvBrandon Stepler
Several scripts imported by vyos-configd (including src/conf_mode/protocols_static.py) rely on argv for operating on VRFs. Always setting script.argv in src/services/vyos-configd ensures those scripts will operate on the default VRF when called with no arguments. Otherwise, a stale argv might cause those scripts to operate on the last modified VRF instead of the default VRF.
2021-06-12http-api: T3616: update for strict content-type check in FastAPI 0.65.2John Estabrook
FastAPI 0.65.2 checks content-type request header before assuming JSON, closing a well-known loophole. This requires a modification of the code providing backwards compatibility of multipart forms.
2021-03-26http api: T3412: use FastAPI as web framework; support application/jsonJohn Estabrook
Replace the Flask micro-framework with FastAPI, in order to support extensions to the API and OpenAPI 3.* generation. This change will remain backwards compatible with previous versions. Notably, the multipart forms version of requests remain supported; in addition application/json requests are now natively supported.
2021-03-25configd: T3426: add support for script arguments to vyos-configdJohn Estabrook
2021-03-23configd: T3426: check script name against include_set, not exclude_setJohn Estabrook
If the script name is mangled, for any reason (e.g. missing support for script arguments) checking against the exclude_set will yield a false positive; check against the include_set, even if this is a longer search.
2021-03-22configd: T3302: check vyos-config-status to determine if in boot sessionJohn Estabrook
2021-03-16configd: T3411: revise redirect to capture stdout from subprocessesJohn Estabrook
2021-03-16configd: T3411: revert to using explicit_print on ConfigErrorJohn Estabrook
2021-02-25configd: T3302: set mode correctly on open for redirectJohn Estabrook
2021-02-23configd: T3302: redirect script stdout/err to file on bootJohn Estabrook
2021-02-17configd: T3302: redirect stdout/stderr from scripts to consoleJohn Estabrook
2020-11-03T2465: Fixing permissions on socket so DHCP workskroy
2020-10-21http-api: T3007: use ConfigSession config load script, not backend loadJohn Estabrook
2020-10-08configd: T2931: workaround for suspected zmq bugJohn Estabrook
2020-10-02configd: T2952: synchronize received messages in case of client timeoutJohn Estabrook
2020-10-02configd: T2582: catch config initialization errorsJohn Estabrook
2020-10-02configd: T2582: remove unused variablesJohn Estabrook