summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-10-20policy: clean upISHIDA Wataru
remove redundant api structures and shorten valiable names re-implement *ToApiStruct functions as a method of each structures Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20table: fix to handle doReplace flagISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20table: remove unnecessary type castingISHIDA Wataru
ASLen() is an interface method Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20server: temporally remove support of policy configuration via grpcISHIDA Wataru
for policy refactrogin will revive this feature by following commits Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20api: support per in/import/export policy configurationISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20packet: define map for well known communitiesISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-19server: remove wrong updateAccepted callFUJITA Tomonori
We can't update #accepted with a specific rf. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-19server: fix the number of acceptedFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-17scenario_test: remove tests to change attributes in IN_POLICYFUJITA Tomonori
We don't support such feature yet. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-17scenario_test: fix the regression due to fffd98daFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-16scenario_test: refactor route_server_policy_testFUJITA Tomonori
Currently, it's not easy to add or delete a test because it's necessary to specify a number for each test by hand. Instead, let's assign a number for each test automatically. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-16packet: remove redundancyHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-16gobgp: exclude 0.0.0.0 and ::Hiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-16packet: avoid overflowHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-15policy: add 4byte AS mixed with 2byte AS test caseHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-15policy: add 4byte AS testHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-15server: need to apply IN policy for newly added peerFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-15gobgp: fix the default address family handlingFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-14*: fix Errorf call with missing format verbsEiichiro Watanabe
2015-10-14packet: fix incompatible struct field tagsEiichiro Watanabe
2015-10-13server: logging received notificaitonFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-13add net/http/pprof supportFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-13policy: fix bug of not applying global export policy in getBestFromLocalISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-11gobpg: add route statistics to neighbor <address> command outputFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-11cli: fix vrf add commandToshiki Tsuboi
Correct mistakes of Export RT
2015-10-09cli: add command to show global policyISHIDA Wataru
$ gobgp global policy Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09gobpg: fix global commandFUJITA Tomonori
ipv4 should be used if an address family is not specified. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-09server: support global policyISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09server: store import/export config in TabelManager instead of PeerISHIDA Wataru
this is a preparation to apply policy to global rib. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09table: merge policy package into tableISHIDA Wataru
2015-10-09api: make enum RouteAction to avoid using raw stringISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09cli: support attaching an aigp path attribute to pathsISHIDA Wataru
$ gobgp global rib add 10.10.0.0/24 aigp metric 1000 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09packet: add aigp path attribute serializer/decoderISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-09server: can safely clear staleAccepted after resetFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-09server: fix path.Filtered updateFUJITA Tomonori
For the case of loosing a policy, we need to set path.Filtered to false. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-09server: fix the number of accepted routesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-09cli: fix address family guessingISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-08cli: enable to flag match/not for tcp-flag when adding flowspec pathISHIDA Wataru
$ gobgp global rib -a ipv4-flowspec add match tcp-flags not match rst then accept Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-08docs: update flowspec documentISHIDA Wataru
we support ipv6-flowspec Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-08packet: validate flowspec port and dscp value in parserISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-08packet: support cisco-ish flowspec tcp-flag serializingISHIDA Wataru
// same as juniper matching ack+syn $ gobgp global rib -a ipv4-flowspec match tcp-flags ack syn then discard // [NEW] same as cisco matching ack+syn $ gobgp global rib -a ipv4-flowspec match tcp-flags 'ack&syn' then discard Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-08gobgp: support admin operations for multiple peersFUJITA Tomonori
You can do something like: $ gobgp neighbor all softreset Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-08server: resetting accepted must be after error checkingFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-07cli: fix not to show corrupted header in monitor commandISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-07cli: support monitoring specific route familyISHIDA Wataru
// monitor only ipv6 best path changes $ gobgp monitor global rib -a ipv6 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-07server: need to send withdrawn for filtered routes after softresetFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-07server: fix soft reset outFUJITA Tomonori
soft reset out needs to use routes in the local table instead of the adj-in. The export policy will be applied correctly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-07policy: fix bug of export neighbor condition matchingISHIDA Wataru
export neighbor condition must match to the remote address of destination peer. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-07server: fix incomplete AS loop checking and remove duplicated codeISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-06server: fix TERM signal handlingFUJITA Tomonori
gobgpd should die after sending a notification all the peers in the established state. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>