Re: [j-nsp] How to trim the text node of a specific element node in SLAX node-set?

2018-10-25 Thread Phil Shafer
Martin T writes:
>I need to trim the text node of a specific element node in SLAX. All
>other elements should remain as in the original node-set. At the
>moment, I do it like this:

Use apply-templates and a distinct mode to traverse the entire
hierarchy and apply rules to rebuild content, like:

version 1.2;

main  {
var $alphabet :=  {
 {
 "bbb  ";
 "ccc  ";
}
 {
 "ddd  ";
 "fff  ";
}
}

var $new = {
apply-templates $alphabet {
mode "trim";
}
}

 { copy-of $new; }
}

match text() {
mode "trim";

if (name(..) == "d") {
 translate(., " ", "");
} else {
copy-of .;
}
}

match @* | * | processing-instruction() | comment() {
mode "trim";

copy-node {
apply-templates * |@* | text() | processing-instruction() | comment() {
mode "trim";
}
}
}

Thanks,
 Phil
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] Remote access vpn on srx1500

2018-10-25 Thread Emille Blanc
I can't offer any working samples or clue-bats, but I too am interested in this.
I've not been successful in getting this working since I last ran 12.3X48-D35.

-Original Message-
From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of 
Mohamed Faye
Sent: Thursday, October 25, 2018 9:20 AM
To: juniper-nsp@puck.nether.net
Subject: [j-nsp] Remote access vpn on srx1500

Hi all,

Anyone configured remote access vpn on srx1500 would need a guide on a temple 
if available thanks all in advance.

- Mohamed
___
juniper-nsp mailing list juniper-nsp@puck.nether.net 
https://puck.nether.net/mailman/listinfo/juniper-nsp

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] Remote access vpn on srx1500

2018-10-25 Thread Mohamed Faye
Hi all,

Anyone configured remote access vpn on srx1500 would need a guide on a
temple if available thanks all in advance.

- Mohamed
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] [c-nsp] show ospf lsdb - topology drawing

2018-10-25 Thread adamv0025
> Robert Raszuk
> Sent: Thursday, October 25, 2018 2:42 PM
> 
> Hi,
> 
> Would anyone be able to recommend some open or closed src tool which
> can draw nice topology of the OSPFv2 single area0 based on the show ospf
> lsdb output capture ?
> 
> I saw https://blog.webernetz.net/ospf-visualizer/ but looking for more
tools
> like this proven in battle field especially those compatible as is with
junos
> output.
> 
Hi Robert, 

Literally plug and play:
https://github.com/CiscoDevNet/Opendaylight-BGP-Pathman-apps
-just point your bgp-ls at the thing and you're done
 
adam

netconsultings.com
::carrier-class solutions for the telecommunications industry::


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] show ospf lsdb - topology drawing

2018-10-25 Thread Robert Raszuk
Hi,

Would anyone be able to recommend some open or closed src tool which can
draw nice topology of the OSPFv2 single area0 based on the show ospf lsdb
output capture ?

I saw https://blog.webernetz.net/ospf-visualizer/ but looking for more
tools like this proven in battle field especially those compatible as is
with junos output.

Many thx,
Robert.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp