public static base_response add ( nitro_service client , nspbr6 resource ) throws Exception { nspbr6 addresource = new nspbr6 ( ) ; addresource . name = resource . name ; addresource . td = resource . td ; addresource . action = resource . action ; addresource . srcipv6 = resource . srcipv6 ; addresource . srcipop = resource . srcipop ; addresource . srcipv6val = resource . srcipv6val ; addresource . srcport = resource . srcport ; addresource . srcportop = resource . srcportop ; addresource . srcportval = resource . srcportval ; addresource . destipv6 = resource . destipv6 ; addresource . destipop = resource . destipop ; addresource . destipv6val = resource . destipv6val ; addresource . destport = resource . destport ; addresource . destportop = resource . destportop ; addresource . destportval = resource . destportval ; addresource . srcmac = resource . srcmac ; addresource . protocol = resource . protocol ; addresource . protocolnumber = resource . protocolnumber ; addresource . vlan = resource . vlan ; addresource . Interface = resource . Interface ; addresource . priority = resource . priority ; addresource . state = resource . state ; addresource . msr = resource . msr ; addresource . monitor = resource . monitor ; addresource . nexthop = resource . nexthop ; addresource . nexthopval = resource . nexthopval ; addresource . nexthopvlan = resource . nexthopvlan ; return addresource . add_resource ( client ) ; }
Use this API to add nspbr6 .