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

[email protected] Maven / Gradle / Ivy

The newest version!
module reconciliation {

    namespace "urn:opendaylight:params:xml:ns:yang:openflowplugin:app:reconciliation:service";
    prefix reconciliation;

    import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
    revision "2018-02-27" {
        description "Initial revision for reconciliation";
    }

    container reconciliation-counter {
        description "Number of reconciliation triggered for openflow nodes";
        config false;
        list reconcile-counter {
            key node-id;
            leaf node-id {
                type uint64;
            }
            uses counter;
        }
    }

    grouping counter {
        leaf success-count {
            type uint32;
            default 0;
        }
        leaf failure-count {
            type uint32;
            default 0;
        }
        leaf last-request-time {
             description "Timestamp when reconciliation was last requested";
             type yang:date-and-time;
        }
    }

    rpc reconcile {
        description "Request the reconciliation for given device or set of devices to the controller.";
        input {
            leaf-list nodes {
                description "List of nodes to be reconciled";
                type uint64;
            }

            leaf reconcile-all-nodes {
                description "Flag to indicate that all nodes to be reconciled";
                type boolean;
                default false;
            }
        }

        output {
             leaf result {
                 type boolean;
             }

             leaf-list inprogress-nodes {
                 description "List of nodes currently reconciliation mode";
                 type uint64;
             }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy