Skip to content
Snippets Groups Projects

Enable export and import of SDN configuration

Merged Ghost User requested to merge export-import-sdn-config into develop
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -123,7 +123,6 @@ func (g *Gnmi) applyDiff(ctx context.Context, payload change.Payload, path *gpb.
@@ -123,7 +123,6 @@ func (g *Gnmi) applyDiff(ctx context.Context, payload change.Payload, path *gpb.
}
}
if op := ctx.Value(types.CtxKeyOperation); op == ppb.ApiOperation_API_OPERATION_UPDATE || op == ppb.ApiOperation_API_OPERATION_REPLACE {
if op := ctx.Value(types.CtxKeyOperation); op == ppb.ApiOperation_API_OPERATION_UPDATE || op == ppb.ApiOperation_API_OPERATION_REPLACE {
filteredUpdates := make([]*gpb.Update, 0)
filteredUpdates := make([]*gpb.Update, 0)
for _, u := range diff.Update {
for _, u := range diff.Update {
rootSchema := schema.RootSchema()
rootSchema := schema.RootSchema()
Loading