func (ir IngressRule) GetProfileMapOfMapsKeyValue(cookie keyvalue.Cookie, action interface{}) ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	if len(ir.CIDR4) > 0 {
		// Compute the CIDR4 MapsOfMapKeyValues
		cidr4Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(ir.CIDR4, cookie, kernel.Ingress, kernel.EthPIP, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, cidr4Kv)
	}
	if len(ir.CIDR6) > 0 {
		// Compute the CIDR6 MapsOfMapKeyValues
		cidr6Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(ir.CIDR6, cookie, kernel.Ingress, kernel.EthPIPV6, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, cidr6Kv)
	}
	return rep, nil
}
// GetProfileMapOfMapsKeyValue - Returns the profile MapsOfMaps key-values of the IngressRule
Returns the profile MapsOfMaps key-values of the IngressRule
// GetProfileMapOfMapsKeyValue - Returns the profile MapsOfMaps key - values of the IngressRule
func (ir IngressRule) GetProfileMapOfMapsKeyValue(cookie keyvalue.Cookie, action interface{}) ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	if len(ir.CIDR4) > 0 {
		cidr4Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(ir.CIDR4, cookie, kernel.Ingress, kernel.EthPIP, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, cidr4Kv)
	}
	if len(ir.CIDR6) > 0 {
		cidr6Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(ir.CIDR6, cookie, kernel.Ingress, kernel.EthPIPV6, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, cidr6Kv)
	}
	return rep, nil
}
func ( ir IngressRule ) GetProfileMapOfMapsKeyValue ( cookie keyvalue . Cookie , action interface { } ) ( [ ] * keyvalue . MapOfMapsKeyValue , error ) { rep := [ ] * keyvalue . MapOfMapsKeyValue { } if len ( ir . CIDR4 ) > 0 { cidr4Kv , err := keyvalue . NewCIDRMapOfMapsKeyValue ( ir . CIDR4 , cookie , kernel . Ingress , kernel . EthPIP , action ) if err != nil { return nil , err } rep = append ( rep , cidr4Kv ) } if len ( ir . CIDR6 ) > 0 { cidr6Kv , err := keyvalue . NewCIDRMapOfMapsKeyValue ( ir . CIDR6 , cookie , kernel . Ingress , kernel . EthPIPV6 , action ) if err != nil { return nil , err } rep = append ( rep , cidr6Kv ) } return rep , nil }
Returns the profile MapsOfMaps key-values of the IngressRule
Returns the profile MapsOfMaps key - values of the IngressRule
// Compute the CIDR4 MapsOfMapKeyValues // Compute the CIDR6 MapsOfMapKeyValues