-
Notifications
You must be signed in to change notification settings - Fork 3
/
bgp.yaml
39 lines (39 loc) · 866 Bytes
/
bgp.yaml
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
apiVersion: k8s.netris.ai/v1alpha1
kind: BGP
metadata:
name: my-bgp
spec:
site: santa-clara
hardware: my-sg01
neighborAs: 23456
transport:
type: port
name: swp14@my-sw01
vlanId: 3000
localIP: 172.16.0.1/30
remoteIP: 172.16.0.2/30
description: My BGP
# state: enabled
# multihop:
# neighborAddress: 8.8.8.8
# updateSource: 10.254.97.33
# hops: 5
# bgpPassword: somestrongpass
# allowAsIn: 5
# defaultOriginate: false
# prefixInboundMax: 10000
# inboundRouteMap: my-in-rm
# outboundRouteMap: my-out-rm
# localPreference: 100
# weight: 0
# prependInbound: 2
# prependOutbound: 1
prefixListInbound:
- deny 127.0.0.0/8 le 32
- permit 0.0.0.0/0 le 24
prefixListOutbound:
- permit 192.0.2.0/24
- permit 198.51.100.0/24
- permit 203.0.113.0/24 le 26
sendBGPCommunity:
- 65501:777