leopoul/ncclient — pull request #44 by shermdog (2014-12-30 17:11:11+00:00)
Title: Update rpc for nested rpc-errors

Updated rpc to support nested rpc-errors. This resolves #43 and supersedes #14

Examples:

**juniper_conf**
```

error

op1

syntax error

error

}

error recovery ignores input until this point

warning
[edit system]

scripts

mgd: statement has no contents; ignored

```
```
juniper_conf.find('.//'+qualify('rpc-error'))

```

**cisco nxos**
```

application
invalid-value
error
ERROR: VLAN with the same name exists

```
```
cisco.find('.//'+qualify('rpc-error'))

```

**rfc**
```

rpc
missing-attribute
error

message-id
rpc

```
```
rfc.find('.//'+qualify('rpc-error'))

```