All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.yang.federation-service.yang Maven / Gradle / Ivy

There is a newer version: 0.2.4-Carbon
Show newest version
module federation-service-config {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:federation-service-config";
    prefix "federation-service";


    import ietf-yang-types { prefix "yang"; }

    revision "2016-11-10" {
        description "Initial revision of federation service model";
    }

    container federation-config-data {
        leaf site-id {
            type yang:uuid;
            description "UUID which can be allocated by an external orchestration system";
        }
        leaf site-ip {
            type string;
            default "127.0.0.1";
            description "site self IP as seen by xsite-manager";
        }
        leaf mqBrokerIp {
            type string;
            default "127.0.0.1";
            description "MQ Broker ip";
        }
        leaf mqPortNumber {
            type int32;
            default 5672;
            description "MQ Port number";
        }
        leaf mqUser {
            type string;
            default "guest";
            description "Specifies MQ user name";
        }
        leaf mqUserPwd {
            type string;
            default "guest";
            description "Specifies MQ user password";
        }
        leaf controlQueueName {
            type string;
            default "CONTROL_QUEUE_127.0.0.1";
            description "Specifies MQ control queue name";
        }
        leaf startService {
            type boolean;
            default true;
            description "Federation service will be enabled only when changing this to true";
        }
      }

    container federation-sites-config {
        list federation-site-config {
            key site-ip;
            unique site-ip;
            leaf site-ip {
                type string;
                description "site IP ";
            }
            leaf broker-ip {
                type string;
                description "broker IP ";
            }
            leaf mqPortNumber {
                type int32;
                default 5672;
                description "MQ Port number";
            }
            leaf mqUser {
                type string;
                default "guest";
                description "Specifies MQ user name";
            }
            leaf mqUserPwd {
                type string;
                default "guest";
                description "Specifies MQ user password";
            }
            leaf controlQueueName {
                type string;
                description "Specifies MQ control queue name";
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy