From 595f928154b6f788e7f5fcf9b597b04679c85e12 Mon Sep 17 00:00:00 2001 From: ngkotsis Date: Sat, 3 Dec 2016 04:32:54 +0200 Subject: [PATCH] Small Documentation Changes (#7) * Parse format (xml or text) when editing config * Small documentation changes. --- src/NcclientLibrary/NcclientKeywords.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NcclientLibrary/NcclientKeywords.py b/src/NcclientLibrary/NcclientKeywords.py index 60f9074..8e59091 100644 --- a/src/NcclientLibrary/NcclientKeywords.py +++ b/src/NcclientLibrary/NcclientKeywords.py @@ -150,7 +150,7 @@ def get_config(self, alias, source, filter_type='subtree', ``source`` name of the configuration datastore being queried - ``filter_type`` xml string or subtree value + ``filter_type`` if specified must be one of ``xpath`` or ``subtree`` ``filter_criteria`` tuple values (xml and xpath) @@ -159,7 +159,7 @@ def get_config(self, alias, source, filter_type='subtree', Where a method takes a filter argument, it can take on the following type: - A tuple of (type, criteria). + A tuple of (filter_type, filter_criteria). Here type has to be one of ``xpath`` or ``subtree``. For ``xpath`` the criteria should be a string containing the XPath