summaryrefslogtreecommitdiffhomepage
path: root/policy
AgeCommit message (Collapse)Author
2015-08-06policy: support the match of consecutive AsPath and regular expressions to ↵Naoto Hanaue
AsPath Condition
2015-08-05config: change type of Prefix in the PrefixSetNaoto Hanaue
2015-08-05path: return Extendedcommunityinterface rathar than interface{}ISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-05config: change the structure of AsPathSet, CommunitySet and ExtCommunitySet ↵Naoto Hanaue
as the PrefixSet
2015-07-31config: use the latest openconfig yangHiroshi Yokoi
2015-07-15cli: support extended communityNaoto Hanaue
2015-07-15scenaio_test: add extended community testNaoto Hanaue
2015-07-13cli: add aspath prepend supportHiroshi Yokoi
2015-07-11policy: add unit test for extended community condition and bug fixNaoto Hanaue
2015-07-11policy: support extended community conditionNaoto Hanaue
2015-07-11policy: support aspath prepend actionHiroshi Yokoi
2015-07-01cli: fix error output when routepolicy does not exist in routepolicy sub commandNaoto Hanaue
2015-07-01cli: support med actionNaoto Hanaue
2015-07-01policy: distribute policyHiroshi Yokoi
2015-07-01table: refactor Path/Destination/Table structISHIDA Wataru
Path/Destination/Table was defined as interface. Simplify by making them normal struct. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-06-26policy: add unit test for med action and bug fixNaoto Hanaue
2015-06-26policy: support med actionNaoto Hanaue
2015-06-17cli: add community subcommand to policy conditions and actionsNaoto Hanaue
2015-06-16cli: add aspath subcommand to policy conditionsNaoto Hanaue
2015-06-16cli: aggregate grpc communication interface associated with the policy to ↵Naoto Hanaue
api.policyDefinition
2015-06-02packet: return aspath length based on the segment type.Hiroshi Yokoi
2015-05-27policy: fix wrong reference to the modified pathHiroshi Yokoi
2015-05-27scenario_test: add policy test cases for new action and conditionsHiroshi Yokoi
2015-05-26cli: add the add/del commands to policy of neighborNaoto Hanaue
% gobgp -u 10.0.255.1 neighbor 10.0.0.3 policy DefaultImportPolicy: ACCEPT DefaultExportPolicy: ACCEPT ImportPolicies: PolicyName policy1: StatementName st0: Conditions: PrefixSet: ps2 192.168.20.0/24 NeighborSet: ns0 10.0.0.2 10.0.0.3 AsPathLength: eq 5 MatchOption: ALL Actions: ACCEPT ExportPolicies: % gobgp -u 10.0.255.1 neighbor 10.0.0.3 policy add export policy0 reject % gobgp -u 10.0.255.1 neighbor 10.0.0.3 policy del import % gobgp -u 10.0.255.1 neighbor 10.0.0.3 policy DefaultImportPolicy: ACCEPT DefaultExportPolicy: REJECT ImportPolicies: ExportPolicies: PolicyName policy0: StatementName st0: Conditions: PrefixSet: ps0 192.168.0.0/16 16..24 NeighborSet: ns2 10.0.0.4 AsPathLength: MatchOption: ALL Actions: REJECT
2015-05-26cli: add the add/del commands to routepolicyNaoto Hanaue
% gobgp -u 10.0.255.1 policy routepolicy PolicyName policy0: StatementName st0: Conditions: PrefixSet: ps0 192.168.0.0/16 16..24 NeighborSet: ns2 10.0.0.4 AsPathLength: MatchOption: ALL Actions: REJECT % gobgp -u 10.0.255.1 policy routepolicy add policy1 st0 conditions --prefix ps2 --neighbor ns0 --aspath-len eq,5 --option all % gobgp -u 10.0.255.1 policy routepolicy add policy1 st0 actions --route-action accept % gobgp -u 10.0.255.1 policy routepolicy del policy0 % gobgp -u 10.0.255.1 policy routepolicy PolicyName policy1: StatementName st0: Conditions: PrefixSet: ps2 192.168.20.0/24 NeighborSet: ns0 10.0.0.2 10.0.0.3 AsPathLength: eq 5 MatchOption: ALL Actions: ACCEPT
2015-05-21policy: support community actionHiroshi Yokoi
2015-05-19policy: support community conditionHiroshi Yokoi
2015-05-19policy: support aspath conditionHiroshi Yokoi
2015-05-19cli: support the AsPathLength to display in routing policyNaoto Hanaue
% gobgp -u 10.0.255.1 policy routepolicy policy0 PolicyName policy0: StatementName st0: Conditions: PrefixSet: ps0 192.168.0.0/16 16..24 NeighborSet: ns0 10.0.0.2 AsPathLength: 10 eq MatchOption: ALL Actions: REJECT
2015-05-19cli: add the show command for routing policy of neighborNaoto Hanaue
% gobgp -u 10.0.255.1 neighbor 10.0.0.3 policy DefaultImportPolicy: ACCEPT DefaultImportPolicy: ACCEPT ImportPolicies: PolicyName policy0: StatementName st0: Conditions: PrefixSet: ps0 192.168.0.0/16 16..24 NeighborSet: ns0 10.0.0.2 MatchOption: ALL Actions: REJECT PolicyName policy5: ExportPolicies: PolicyName policy1: StatementName st1: Conditions: PrefixSet: ps1 192.168.20.0/24 192.168.200.0/24 NeighborSet: ns0 10.0.0.2 MatchOption: ALL Actions: REJECT
2015-04-30policy: use table.ProcessMessage()Hiroshi Yokoi
2015-04-30policy: add AsPathLength matchHiroshi Yokoi
2015-04-30policy: refactor match condition codesHiroshi Yokoi
2015-04-27table: make table.ProcessMessage a functionISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-04-22unit_test: fix associated with the testify updateNaoto Hanaue
2015-04-01policy: remove continueHiroshi Yokoi
2015-03-24policy: support ipv6 and add test codeNaoto Hanaue
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-03-24policy: apply import/export policyHiroshi Yokoi
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-03-24policy: add prefix filterNaoto Hanaue
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>