Skip to content

Commit

Permalink
Add GoBGP config
Browse files Browse the repository at this point in the history
  • Loading branch information
watal authored and Motok1 committed Oct 19, 2022
1 parent 00d5ca3 commit b430dd7
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions docs/sources/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $ go install github.com/nttcom/pola/cmd/polad@latest

Specify the IP address and port number for each PCEP and gRPC.

**case: TED disable**
### case: TED disable

To manage SR Policy without using TED.

Expand All @@ -31,15 +31,15 @@ global:
enable: false
```
**case: TED enable**
### case: TED enable
To manage SR Policy using TED.
Enabling TED allows dynamic path calculation.
A specific tool for updating TED is required to use this feature.
Currently, only GoBGP is supported.
```
```yaml
global:
pcep:
address: **
Expand All @@ -59,13 +59,32 @@ global:
port: 50051
```
Configure GoBGP as follows to enable BGP-LS.
```yaml
global:
config:
as: 65000
router-id: 10.255.0.254
neighbors:
- config:
neighbor-address: 10.100.0.1
peer-as: 65000
transport:
config:
local-address: 10.100.0.254
afi-safis:
- config:
afi-safi-name: ls
```
## Run Pola PCE using polad
Start polad. Specify the created configuration file with the -f option.
```bash
$ sudo polad -f polad.yaml
2022-06-05T22:57:59.823Z info gRPC Listen {"listenInfo": "127.0.0.1:50051", "server": "grpc"}
2022-06-05T22:57:59.823Z info PCEP Listen {"listenInfo": "10.100.0.252:4189"}
2022-06-05T22:57:59.823Z info gRPC listen {"listenInfo": "127.0.0.1:50052", "server": "grpc"}
2022-06-05T22:57:59.823Z info PCEP listen {"listenInfo": "10.255.0.254:4189"}
```

0 comments on commit b430dd7

Please sign in to comment.