Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'logic': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cc:addr:python.org': 0.22; 'looks': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'programming.': 0.30; 'message-id:@mail.gmail.com': 0.30; 'firewall': 0.31; 'could': 0.34; 'convert': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'list.': 0.37; 'containing': 0.69; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ednNYA6fKOT2lB+mNhdVijwXaW87rJmwGEZezNrVcSA=; b=TGokF8poe2AZV0D/dT3UQV/3JIgSvKNaAp3CZOJZdWGFZsml6MyTL/MxFvCk3RyPBZ XO0vygFVG2uyFXvBGn/NyoiEIFG1/hb5isHmpEQsw5i0Ca39OAoSOi3UaGbcD9O5rboa Z+39VzEhhxsA7DXZC2cc3v/9Wk0dBXIajP01W6Bv6bJUgpciLedFDEA5Enf+sdSY61WC lIm3rGZyY+97HTZusiJz4BGZWEYCKhlilCxN9LHDGDX96hK8piqvWOcvep+3Jda58bII 658AcWog1xOKBqtvxUShv7oaViCACN2W4bm6ZSElaXXEPqQPeNssaGwXvU7J3NYqBG8V aLng== MIME-Version: 1.0 X-Received: by 10.180.103.162 with SMTP id fx2mr3067264wib.42.1418348696836; Thu, 11 Dec 2014 17:44:56 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Dec 2014 18:44:56 -0700 Subject: Re: Python Script to convert firewall rules From: Jason Friedman Cc: python-list Content-Type: multipart/alternative; boundary=f46d04428d123e210f0509fb0a5c X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418348704 news.xs4all.nl 2869 [2001:888:2000:d::a6]:43378 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82400 --f46d04428d123e210f0509fb0a5c Content-Type: text/plain; charset=UTF-8 > I am network engineer and not expert in programming. I would like to make > one python script to convert juniper netscreen firewall configuration into > juniper SRX firewall configuration. > Looks pretty tricky, do you have a specification for each format containing all the possible keywords/values? If you could describe the logic in English then writing the equivalent in Python would be straightforward for many people on this list. --f46d04428d123e210f0509fb0a5c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
I am network engineer and not expert in programming. I would like to make o= ne python script to convert juniper netscreen firewall configuration into j= uniper SRX firewall configuration.

Look= s pretty tricky, do you have a specification for each format containing all= the possible keywords/values?

If you could describe the = logic in English then writing the equivalent in Python would be straightfor= ward for many people on this list.
--f46d04428d123e210f0509fb0a5c--