Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Parse BGP policy from a file. 


Example Policies::

    (asn = 1) egress-> (node = a.b): (if Origin(asn=2) then addTag a100)
    (asn = 1) egress-> (asn = 2): (if tags contain abc then setMED 200)
    (asn = 1) egress-> (asn = 2): (if tag = cde then addTag a300) else (if tag = def then setMED 200) 
    (asn = 1) egress-> (asn = 2): (if tag = ghi then addTag a300)           
    (asn = 2) ->ingress (asn = 1): (if tag = xyz then setLP 100)          (more...)

src/a/n/ank_le-HEAD/AutoNetkit/algorithms/__init__.py   ank_le(Download)
import AutoNetkit.algorithms.autonomous_system 
import AutoNetkit.algorithms.bgp 
import AutoNetkit.algorithms.bgp_policy
import AutoNetkit.algorithms.dns 
import AutoNetkit.algorithms.graph_product