-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsample_resource.yml
47 lines (47 loc) · 1.41 KB
/
sample_resource.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
resources:
- kind: network_ipam
data:
uuid: sample_network_ipam
parent_type: project
parent_uuid: beefbeef-beef-beef-beef-beefbeef0003
display_name: sample_network_ipam
fq_name: ["default", "6843e7b2-9bf1-11e9-b794-6b74c426270a", "sample_network_ipam1"]
network_ipam_mgmt:
host_routes:
route:
- prefix: "test_prefix"
next_hop: "1.2.3.5"
- kind: network_policy
data:
uuid: sample_network_policy
fq_name: ["default", "6843e7b2-9bf1-11e9-b794-6b74c426270a", "sample_network_policy"]
parent_type: project
parent_uuid: beefbeef-beef-beef-beef-beefbeef0003
display_name: sample_network_policy
network_policy_entries:
policy_rule:
- direction: ">"
protocol: tcp
rule_sequence:
major: 4
minor: 1
src_ports: [{}]
dst_ports: [{}]
ethertype: IPv4
src_addresses: [{}]
dst_addresses: [{}]
action_list:
simple_action: pass
- kind: virtual_network
data:
uuid: sample_virtual_network
parent_type: project
parent_uuid: beefbeef-beef-beef-beef-beefbeef0003
fq_name: ["default", "6843e7b2-9bf1-11e9-b794-6b74c426270a", "sample_virtual_network"]
display_name: sample_virtual_network
route_target_list:
route_target: ["100:200"]
network_ipam_refs:
- uuid: sample_network_ipam
network_policy_refs:
- uuid: sample_network_policy