Revision d215b592 ncclient/operations/edit.py

b/ncclient/operations/edit.py
64 64
    def request(self, target):
65 65
        """Delete a configuration datastore.
66 66

  
67
        :param target: name or URL of configuration datastore to delete
68
        :type: :ref:`srctarget_params`"""
67
        *target* specifies the  name or URL of configuration datastore to delete
68

  
69
        :seealso: :ref:`srctarget_params`"""
69 70
        node = new_ele("delete-config")
70 71
        node.append(util.datastore_or_url("target", target, self._assert))
71 72
        return self._request(node)
......
78 79
        """Create or replace an entire configuration datastore with the contents of another complete
79 80
        configuration datastore.
80 81

  
81
        :param source: configuration datastore to use as the source of the copy operation or `config` element containing the configuration subtree to copy
82
        :type source: :ref:`srctarget_params`
82
        *source* is the name of the configuration datastore to use as the source of the copy operation or `config` element containing the configuration subtree to copy
83

  
84
        *target* is the name of the configuration datastore to use as the destination of the copy operation
83 85

  
84
        :param target: configuration datastore to use as the destination of the copy operation
85
        :type target: :ref:`srctarget_params`"""
86
        :seealso: :ref:`srctarget_params`"""
86 87
        node = new_ele("copy-config")
87 88
        node.append(util.datastore_or_url("target", target, self._assert))
88 89
        node.append(util.datastore_or_url("source", source, self._assert))
......
97 98
    def request(self, source):
98 99
        """Validate the contents of the specified configuration.
99 100

  
100
        :param source: name of the configuration datastore being validated or `config` element containing the configuration subtree to be validated
101
        :type source: :ref:`srctarget_params`"""
101
        *source* is the name of the configuration datastore being validated or `config` element containing the configuration subtree to be validated
102

  
103
        :seealso: :ref:`srctarget_params`"""
102 104
        node = new_ele("validate")
103 105
        try:
104 106
            src = validated_element(source, ("config", qualify("config")))
......
119 121

  
120 122
        A confirmed commit (i.e. if *confirmed* is `True`) is reverted if there is no followup commit within the *timeout* interval. If no timeout is specified the confirm timeout defaults to 600 seconds (10 minutes). A confirming commit may have the *confirmed* parameter but this is not required. Depends on the `:confirmed-commit` capability.
121 123

  
122
        :param confirmed: whether this is a confirmed commit
123
        :type confirmed: bool
124
        *confirmed* whether this is a confirmed commit
124 125

  
125
        :param timeout: confirm timeout in seconds
126
        :type timeout: int"""
126
        *timeout* confirm timeout in seconds"""
127 127
        node = new_ele("commit")
128 128
        if confirmed:
129 129
            self._assert(":confirmed-commit")

Also available in: Unified diff