Add cli_config module (#42413)

* cli_config module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* rename diff and replace

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* add nxos changes

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* nxos tests

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* remove severity

* address review comment

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* add module diff

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* add iosxr test

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* address diff review

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add junos tests

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* vyos cliconf diff fix

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2018-08-14 13:52:15 +05:30 committed by GitHub
commit a8c24a5d5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 960 additions and 4 deletions

View file

@ -99,7 +99,8 @@ class Cliconf(CliconfBase):
else:
self.send_command('exit')
resp['diff'] = diff_config
if diff_config:
resp['diff'] = diff_config
resp['response'] = results
resp['request'] = requests
return resp