func (er EgressRule) GetProfileMapOfMapsKeyValue(cookie keyvalue.Cookie, action interface{}) ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	// Compute the CIDR4 MapsOfMapKeyValues
	cidr4Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(er.CIDR4, cookie, kernel.Egress, kernel.EthPIP, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, cidr4Kv)
	// Compute the CIDR6 MapsOfMapKeyValues
	cidr6Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(er.CIDR6, cookie, kernel.Egress, 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 EgressRule
Returns the profile MapsOfMaps key-values of the EgressRule
// GetProfileMapOfMapsKeyValue - Returns the profile MapsOfMaps key - values of the EgressRule
func (er EgressRule) GetProfileMapOfMapsKeyValue(cookie keyvalue.Cookie, action interface{}) ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	cidr4Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(er.CIDR4, cookie, kernel.Egress, kernel.EthPIP, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, cidr4Kv)
	cidr6Kv, err := keyvalue.NewCIDRMapOfMapsKeyValue(er.CIDR6, cookie, kernel.Egress, kernel.EthPIPV6, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, cidr6Kv)
	return rep, nil
}
func ( er EgressRule ) GetProfileMapOfMapsKeyValue ( cookie keyvalue . Cookie , action interface { } ) ( [ ] * keyvalue . MapOfMapsKeyValue , error ) { rep := [ ] * keyvalue . MapOfMapsKeyValue { } cidr4Kv , err := keyvalue . NewCIDRMapOfMapsKeyValue ( er . CIDR4 , cookie , kernel . Egress , kernel . EthPIP , action ) if err != nil { return nil , err } rep = append ( rep , cidr4Kv ) cidr6Kv , err := keyvalue . NewCIDRMapOfMapsKeyValue ( er . CIDR6 , cookie , kernel . Egress , kernel . EthPIPV6 , action ) if err != nil { return nil , err } rep = append ( rep , cidr6Kv ) return rep , nil }
Returns the profile MapsOfMaps key-values of the EgressRule
Returns the profile MapsOfMaps key - values of the EgressRule
// Compute the CIDR4 MapsOfMapKeyValues // Compute the CIDR6 MapsOfMapKeyValues