public static base_response add ( nitro_service client , nsacl6 resource ) throws Exception { nsacl6 addresource = new nsacl6 ( ) ; addresource . acl6name = resource . acl6name ; addresource . acl6action = resource . acl6action ; addresource . td = resource . td ; 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 . ttl = resource . ttl ; addresource . srcmac = resource . srcmac ; addresource . protocol = resource . protocol ; addresource . protocolnumber = resource . protocolnumber ; addresource . vlan = resource . vlan ; addresource . Interface = resource . Interface ; addresource . established = resource . established ; addresource . icmptype = resource . icmptype ; addresource . icmpcode = resource . icmpcode ; addresource . priority = resource . priority ; addresource . state = resource . state ; return addresource . add_resource ( client ) ; }
Use this API to add nsacl6 .