Skip to content
Snippets Groups Projects
tapi-oam@2019-03-31.yang 52.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
        rpc get-oam-service-point {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
            }
            output {
                container oam-service-point {
                    uses oam-service-point;
                    description "none";
                }
            }
        }
        rpc create-oam-job {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                leaf oam-service-id {
                    type tapi-common:uuid;
                    description "UUID of the associated OamService: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                leaf oam-service-point-id {
                    type tapi-common:uuid;
                    description "UUID of the associated OSEPs: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                leaf oam-profile-id {
                    type tapi-common:uuid;
                    description "UUID of the OamProfile to be applied: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                list name {
                    key 'value-name';
                    uses tapi-common:name-and-value;
                    description "List of names. This value is unique in some namespace but may change during the life of the entity.
                        A name carries no semantics with respect to the purpose of the entity.";
                }
                leaf oam-job-type {
                    type oam-job-type;
                    description "none";
                }
                leaf state {
                    type tapi-common:administrative-state;
                    description "none";
                }
                container schedule {
                    uses tapi-common:time-range;
                    description "none";
                }
            }
            output {
                container oam-job {
                    uses oam-job;
                    description "none";
                }
            }
        }
        rpc update-oam-job {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                leaf oam-profile-id {
                    type tapi-common:uuid;
                    description "UUID of the OamProfile to be applied: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                list name {
                    key 'value-name';
                    uses tapi-common:name-and-value;
                    description "List of names. This value is unique in some namespace but may change during the life of the entity.
                        A name carries no semantics with respect to the purpose of the entity.";
                }
                leaf state {
                    type tapi-common:administrative-state;
                    description "none";
                }
                container schedule {
                    uses tapi-common:time-range;
                    description "none";
                }
            }
            output {
                container oam-job {
                    uses oam-job;
                    description "none";
                }
            }
        }
        rpc delete-oam-job {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
            }
        }
        rpc get-oam-job {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
            }
            output {
                container oam-job {
                    uses oam-job;
                    description "none";
                }
            }
        }
        rpc get-oam-job-list {
            description "none";
            output {
                list oam-job {
                	key 'uuid';
                    uses oam-job;
                    description "none";
                }
            }
        }
        rpc create-oam-profile {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                list name {
                    key 'value-name';
                    uses tapi-common:name-and-value;
                    description "List of names. This value is unique in some namespace but may change during the life of the entity.
                        A name carries no semantics with respect to the purpose of the entity.";
                }
                list pm-threshold-data {
                    min-elements 1;
                    uses pm-threshold-data;
                    description "none";
                }
            }
            output {
                container oam-profile {
                    uses oam-profile;
                    description "none";
                }
            }
        }
        rpc update-oam-profile {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
                list name {
                    key 'value-name';
                    uses tapi-common:name-and-value;
                    description "List of names. This value is unique in some namespace but may change during the life of the entity.
                        A name carries no semantics with respect to the purpose of the entity.";
                }
                list pm-threshold-data {
                    min-elements 1;
                    uses pm-threshold-data;
                    description "none";
                }
            }
            output {
                container oam-profile {
                    uses oam-profile;
                    description "none";
                }
            }
        }
        rpc delete-oam-profile {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
            }
        }
        rpc get-oam-profile {
            description "none";
            input {
                leaf uuid {
                    type tapi-common:uuid;
                    description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable.
                        An UUID carries no semantics with respect to the purpose or state of the entity.
                        UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
                        Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12} 
                        Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
                }
            }
            output {
                container oam-profile {
                    uses oam-profile;
                    description "none";
                }
            }
        }
        rpc get-oam-profile-list {
            description "none";
            output {
                list oam-profile {
                	key 'uuid';
                    uses oam-profile;
                    description "none";
                }
            }
        }
    
    }