I am still a little baffled by the new LCR table structures and i am having
a hard time figuring out how to use them. I want to different LCR gateways
for two different prefixes. When I load up this configuration,
lcr.dump_gws is only returning the Gateway with Lcr ID: 1. What am I doing
wrong here?
Here is my current table structure:
----------------------------------------
LCR Gateway List
----------------------------------------
Id 1
Lcr Id 1
Gw Name: Host 1
Ip Addr: X.X.X.X
Uri: 1
Transport 1
Id 2
Lcr ID 2
Gw Name: Host 2
Ip Addr: Y.Y.Y.Y
Uri: 1
Transport 1
----------------------------------------
LCR Rule List:
----------------------------------------
Id: 1
Lcr Id: 1
Prefix: 1555
Stopper 0
Enabled 1
Id: 2
Lcr Id: 2
Prefix: 1444
Stopper: 0
Enabled: 1
----------------------------------------
LCR Target List:
----------------------------------------
Id: 1
Lcr Id: 1
Rule Id: 1
Gw Id: 1
Id: 2
Lcr Id: 2
Rule Id: 2
Gw Id: 2