Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-446

Add full support for initial BGP policy configuration

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • HC BGP
    • None

      For now after fluorine bump HC supports only setting default actions for BGP policy.
      Default actions for import/export policies are:

      • ACCEPT-ROUTE
      • REJECT-ROUTE

      In the future it will be wise to add full policy configuration  (see https://github.com/opendaylight/bgpcep/blob/d290a4eaf312ed7774093766d493bd1c6fa4d48a/bgp/config-example/src/main/resources/initial/routing-policy-config.xml for initial configuration in BGP project)

      There are two options:

      1. Add module/modules for configuring policy-definitions, defined-sets and apply-policy in routing-policy openconfig model,
      2. Add support for loading configuration data in JSON format similar how it is done with test data in Unit tests

      Since BGP support policy configuration only on startup (policy updates during runtime are not supported) the second option seems better for now.  

      Probably needs more investigation.

            mcmarada Michal Cmarada
            mcmarada Michal Cmarada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: