guides:user:servicetypes:servicetypes_api
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:user:servicetypes:servicetypes_api [2020/01/02 16:18] – created yspeerte | guides:user:servicetypes:servicetypes_api [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ===== Running Service-types ===== | ||
+ | |||
+ | Th first thing to note about Service-type is that they are strictly limited to the NetYCE database. Service-types create, modify, and delete database objects. Nothing else. They prepare the data so that later it can feed the templates and the scenarios to execute jobs. | ||
+ | |||
+ | |||
+ | ==== the " | ||
+ | |||
+ | The first use of Service-types are for creating new services and/or nodes. In this case the Service-type MUST be created using the keyword '' | ||
+ | |||
+ | Every Service type needs four identifiers to be unique: | ||
+ | * the '' | ||
+ | * the '' | ||
+ | * the '' | ||
+ | * the '' | ||
+ | |||
+ | So the reserved '' | ||
+ | |||
+ | |||
+ | ==== the other tasks ==== | ||
+ | |||
+ | Other Service_tasks can now be created to define standardized changes or perform migrations. Since the service was created using a Service_type name, these corresponding tasks can rely on knowing exactly the intended design was and operate on it. | ||
+ | |||
+ | Over time these tasks will be created, used and when obsolete, deleted. Since these tasks did not ' | ||
+ | |||
+ | |||
+ | ==== the " | ||
+ | |||
+ | For Service_types/ | ||
+ | |||
+ | |||
+ | ==== the API variables ==== | ||
+ | |||
+ | Service_types/ | ||
+ | |||
+ | However, for the API it is possible to include " | ||
+ | |||
+ | Some of these " | ||
+ | |||
+ | |||
+ | === filtering GUI tasks === | ||
+ | |||
+ | To prevent executing Service_tasks that depend on API " | ||
+ | |||
+ | === Rollback on error === | ||
+ | |||
+ | In the chain of commands, something can go wrong. In that case, all modifications on the database are rolled back and undone, so that you don't need to clean them up. This a new feature, available from version 8.2.1 | ||