module sas-configuration {
    yang-version 1.1;
    namespace "";
    prefix "sas";

    import ietf-inet-types {
        prefix "ietf-inet";

    organization "Metaswitch Networks";
    contact "";
    description "SAS configuration schema.";

    revision 2019-11-29 {
            "Initial revision";
            "Metaswitch Deployment Definition Guide";

    grouping sas-configuration-grouping {
        leaf enabled {
            type boolean;
            default true;
            description "'true' enables the use of SAS, 'false' disables.";

        container sas-connection {
            when "../enabled = 'true'";

            leaf system-type {
                type string {
                    length "1..255";
                    pattern "[a-zA-Z0-9.\\-_@:\"', ]+";
                description "The SAS system type.
                             Only valid for custom nodes.
                             Defaults to the image name if not specified.";

            leaf system-version {
                type string;
                description "The SAS system version.
                             Defaults to the VM version if not specified.";

            leaf-list servers {
                type ietf-inet:ipv4-address-no-zone;
                min-elements 1;
                description "The list of SAS servers to send records to.";

            description "Configuration for connecting to SAS.";
        description "SAS configuration.";

    grouping sas-instance-configuration-grouping {
        leaf system-name {
            type string {
                length "1..64";
            description "The SAS system name.
                         Defaults to a string containing the deployment ID, system type,
                         and the node ID (or the VM index for unclustered nodes)
                         if not specified.";
        description "SAS instance configuration.";
Previous page Next page
Rhino VoLTE TAS Version 4.0.0