Introduction

Robot library to monitor shard stability.

Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

This is a "stateful" library to monitor shard leaders and candidates. During the initial phase all leaders and followeres are stored and then checked with new value on verify. TODO: investigate whether pure stateless library would be easier or harder to use.

Requirements: ClusterManagement.ClusterManagement_Setup must be called before Shard_Stability_Init

It is possible to use it for stateless comparison. Variable @{DEFAULT_SHARD_LIST} contains default module shards.

Keywords

Arguments

requested_leader_idx

Documentation

Move default/topology config/operational shard location to local or remote node as requested towards the given member.

Arguments

details stateless_details
= ${EMPTY}

Documentation

Compare two distionaries created by Shards_Stability_Get_Details

Arguments

shard_list member_index_list
= ${EMPTY}
verify_restconf
= False
http_timeout
= ${EMPTY}

Documentation

Return shard details stored in dictionary. ${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..

Arguments

shard_list member_index_list
= ${EMPTY}

Documentation

Initialize data for given shards. ${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..

Arguments

shard_list member_index_list
= ${EMPTY}

Documentation

Verify that present details as the same as the stored one from Shards_Stability_Init_Details

Arguments

expected_leader_idx http_timeout
= ${EMPTY}

Documentation

Verify default/topology config/operational shard leader location is as expected

ShardStability

image/svg+xml