Library scope: | GLOBAL |
---|
Robot keyword library (Resource) for performing PCEP operations via restconf calls.
Copyright (c) 2015 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
TODO: Remove all old keywords, update pcepuser.robot accordingly TODO: Add new KWs, update all pcep tests to use them.
Instantiate LSP according to XML data and return response (json) text.
Post XML data to given pcep-operations URI, check status_code is 200 and return response text (JSON).
Given text should be equal to json response when device refuses tunnel removal.
Given text should be equal to successfull json response.
Compare current pcep-topology to empty one. Timeout is long enough to see that pcep is ready.
Remove LSP according to XML data and return response (json) text.
Creates Requests session to be used by subsequent keywords.
Teardown to pair with Setup (otherwise no-op).
Update LSP according to XML data and return response (json) text.