X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=debug_tools%2Fnetconf_TCP_SSH_hijackingproxy.pl;fp=debug_tools%2Fnetconf_TCP_SSH_hijackingproxy.pl;h=05ba2de83bebcf841f4f1acde1edb307d3ddc48c;hb=03990b8d83db699a59a85b3484a9a5c1b8c87448;hp=4efab85ae32ae9ab1aa61567c7fb2ebe89241307;hpb=421c0884e1d33d944d926dda281d644a72456620;p=transportpce.git diff --git a/debug_tools/netconf_TCP_SSH_hijackingproxy.pl b/debug_tools/netconf_TCP_SSH_hijackingproxy.pl index 4efab85ae..05ba2de83 100755 --- a/debug_tools/netconf_TCP_SSH_hijackingproxy.pl +++ b/debug_tools/netconf_TCP_SSH_hijackingproxy.pl @@ -93,10 +93,10 @@ if ((!defined ($simpleproxy))&&(defined ($capabilities))) { # you can adapt it to your needs, some examples have been commented. my %regex_hash=( # replace oo-device v1.2 by v1.2.1 -# 'module=org-openroadm-device&revision=2016-10-14.*<\/capability>'=>'s/&revision=2016-10-14/&revision=2017-02-06/', +# 'module=org-openroadm-device&revision=2016-10-14.*<\/capability>'=>'s/&revision=2016-10-14/&revision=2017-02-06/', # 'org-openroadm-device<\/identifier>2016-10-14'=>'s@org-openroadm-device2016-10-14@org-openroadm-device2017-02-06@', # remove all deviations found -# '&deviations=.*<\/capability>'=>'s@&deviations=.*@@', +# '&deviations=.*<\/capability>'=>'s@&deviations=.*@@', # add the ietf-netconf capability to the hello handshake - without it, ODL netconf mountpoints can not work # '<\/capabilities>'=>'s@@\nurn:ietf:params:xml:ns:yang:ietf-netconf?module=ietf-netconf&revision=2011-06-01\n@', # add the right notifications capabilities to the hello handshake + provide another solution for the ietf-netconf capability