MCPcopy
hub / github.com/osrg/gobgp / createNeighborSet

Function createNeighborSet

internal/pkg/table/policy_test.go:3550–3556  ·  view source on GitHub ↗
(name string, addr string)

Source from the content-addressed store, hash-verified

3548}
3549
3550func createNeighborSet(name string, addr string) oc.NeighborSet {
3551 ns := oc.NeighborSet{
3552 NeighborSetName: name,
3553 NeighborInfoList: []string{addr},
3554 }
3555 return ns
3556}
3557
3558func createAs4Value(s string) uint32 {
3559 v := strings.Split(s, ".")

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…