which I would call then in some sort of routing policy, in this case it might be for a bgp peer:
bgp {
log-updown;
remove-private;
group Your Mom {
type external;
import [ Martians YM_communities-next_hop ];
export [ Public-Stuff Match_Any_Deny ];
peer-as 1234;
neighbor 1.2.3.4;
}
}
Trigger should be able to handle me modifying either a section of the policy, either to add a new term, possibly insert a statement into an existing term, or change the behavior of the policy-statement in some way:
Or possibly even add/change another variable of my peer. Lets say I wish to drain this router:
bgp {
log-updown;
remove-private;
group Your Mom {
type external;
import [ YM_communities-next_hop ];
export [ Your_Mom_Drain_Policy ];
peer-as 1234;
neighbor 1.2.3.4;
}
}
Examples could vary. I may roll a new routing policy to a router and add it to an import or export statement. There are also a huge variety of types of policy match conditions and actions that might be useful.
Take this very benign example of a policy-statement:
which I would call then in some sort of routing policy, in this case it might be for a bgp peer:
Trigger should be able to handle me modifying either a section of the policy, either to add a new term, possibly insert a statement into an existing term, or change the behavior of the policy-statement in some way:
Or possibly even add/change another variable of my peer. Lets say I wish to drain this router:
Examples could vary. I may roll a new routing policy to a router and add it to an import or export statement. There are also a huge variety of types of policy match conditions and actions that might be useful.