Introduction

Resource for preparing various sets of Yang files to be used in testing.

Copyright (c) 2016 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

Keywords in this Resource assume there is an active SSH connection to system where a particular set of Yang files is to be created. The keywords will change current working directory used by SSHKeywords.

The two repos used in this suite ${YANGMODELS_REPO} and ${OPENCONFIG_REPO} have been updated: 11/11/2020

Keywords

Documentation

Long list of "rm -vrf" commands. All files/paths removed below are due to real issues in those files/paths as found with failures in the yang-model-validator tool. We do not want OpenDaylight CSIT to fail because of problems with external yangs.

Arguments

root_dir
= .

Documentation

Cleanup possibly leftover directories (src and target), clone git repos and remove unwanted paths. YangModels/yang and openconfig/public repos should be updated from time to time, but they are frozen to ${YANGMODELS_REPO_COMMIT_HASH} and ${OPENCONFIG_REPO_COMMIT_HASH} to prevent the chance that updates to those repos with problems will cause ODL CSIT to fail. There are obvious failures in these repos already, and those are addressed by removing those files/dirs with the Delete_Static_Paths keyword.

YangCollection

image/svg+xml