Forum Discussion
iRule Error
Hi All
I am busy implementing Cisco Tetration and required to deploy configuration on the F5.
I am following the GitHub article, https://github.com/f5devcentral/f5-tetration. I do however get a few errors when I run the scripts, thus not able to complete.
I then tried to deploy the settings manually and here I get an error when configuring the iRule. Can someone assist with what the following error refers to when deploying the iRule,
01070151:3: Rule [/Common/irule_ipfix_tcp] error: /Common/irule_ipfix_tcp:11: error: [undefined procedure: IPFIX::destination][IPFIX::destination open -publisher /Common/ipfix-pub-1]
/Common/irule_ipfix_tcp:15: error: [undefined procedure: IPFIX::template][IPFIX::template create "flowStartMilliseconds \
sourceIPv4Address \
sourceIPv6Address \
destinationIPv4Address \
destinationIPv6Address \
sourceTransportPort \
destinationTransportPort \
protocolIdentifier \
octetTotalCount \
packetTotalCount
This is a portion of the iRule where the error appears to be when RULE_INIT { set static::http_rule1_dest "" set static::http_rule1_tmplt "" }
CLIENT_ACCEPTED event to initiate IPFIX destination and template
when CLIENT_ACCEPTED {
set start [clock clicks -milliseconds]
if { $static::http_rule1_dest == ""} {
open the logging destination if it has not been opened yet
set static::http_rule1_dest [IPFIX::destination open -publisher /Common/ipfix-pub-1]
}
if { $static::http_rule1_tmplt == ""} {
if the template has not been created yet, create the template
set static::http_rule1_tmplt [IPFIX::template create "flowStartMilliseconds \
sourceIPv4Address \
sourceIPv6Address \
destinationIPv4Address \
destinationIPv6Address \
sourceTransportPort \
destinationTransportPort \
protocolIdentifier \
octetTotalCount \
packetTotalCount \
octetDeltaCount \
packetDeltaCount \
postNATSourceIPv4Address \
postNATSourceIPv6Address \
postNATDestinationIPv4Address \
postNATDestinationIPv6Address \
postNAPTSourceTransportPort \
postNAPTDestinationTransportPort \
postOctetTotalCount \
postPacketTotalCount \
postOctetDeltaCount \
postPacketDeltaCount \
flowEndMilliseconds"]
}
}
Can someone assist with guiding as to where the issue might be.
Thanx
- SL
Cirrus
Upon some further testing, if I apply the iRule on a v13 instance it installs successfully.
It thus appears to be version related as I am trying to deploy it on a v11.5.3 instance.
- Sanjay_Shitole
Employee
This integration is not tested with v11.5.3 release, its validated with v12.0 and above. If you have problem with script please open a issue on https://github.com/f5devcentral/f5-tetration/issues
- SL
Cirrus
Thank you Sanjay, will do that
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com