2 * Copyright (c) 2017 Cisco Systems. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp;
11 import org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp.dom.MapRegisterDom;
12 import org.opendaylight.groupbasedpolicy.renderer.vpp.util.VppIidFactory;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170315.map.register.grouping.MapRegister;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
17 * Created by Shakib Ahmed on 3/20/17.
19 public class ConfigureMapRegisterStatusCommand extends AbstractLispCommand<MapRegister>{
21 MapRegisterDom mapRegisterDom;
23 public ConfigureMapRegisterStatusCommand(MapRegisterDom mapRegisterDom) {
24 this.mapRegisterDom = mapRegisterDom;
28 public InstanceIdentifier<MapRegister> getIid() {
29 return VppIidFactory.getMapRegisterIid();
33 public MapRegister getData() {
34 return mapRegisterDom.getSALObject();