Debian Codegraph @

lib/jnpr/junos/cfgro/srx.yml

raw
1 ---
2 ##### =========================================================================
3 ##### SAMPLE SRX config-read-only tables/views
4 ##### =========================================================================
5
6 ### ---------------------------------------------------------------------------
7 ### SRX zones and interfaces
8 ### ---------------------------------------------------------------------------
9
10 ZoneTable:
11 get: security/zones/security-zone
12
13 ZoneIfsTable:
14 get: security/zones/security-zone/interfaces
15 required_keys:
16 security_zone: name
17
18 ### ---------------------------------------------------------------------------
19 ### SRX zone address book item table
20 ### ---------------------------------------------------------------------------
21
22 ABitemTable:
23 get: security/zones/security-zone/address-book/address
24 required_keys:
25 security_zone: name
26 view: abitemView
27
28 abitemView:
29 fields:
30 ip_prefix: ip-prefix
31
32 ### ---------------------------------------------------------------------------
33 ### SRX zone-to-zone security policy
34 ### ---------------------------------------------------------------------------
35
36 PolicyContextTable:
37 get: security/policies/policy
38 key:
39 - from-zone-name
40 - to-zone-name
41 view: policyContextView
42
43 policyContextView:
44 fields:
45 from_zone: from-zone-name
46 to_zone: to-zone-name
47
48 ### ---------------------------------------------------------------------------
49 ### SRX zone-to-zone security policy rules
50 ### ---------------------------------------------------------------------------
51
52 PolicyRuleTable:
53 get: security/policies/policy/policy
54 required_keys:
55 policy:
56 - from-zone-name
57 - to-zone-name
58 view: policyRuleView
59
60 policyRuleView:
61 groups:
62 match: match
63 then: then
64 fields_match:
65 match_src: source-address
66 match_dst: destination-address
67 match_app: application
68 fields_then:
69 log_init : { log/session-init: flag }
70 action : deny | permit