ONVIF:...terface(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so bestie, welcome to ONVIF::Analytics::Types::NetworkInterface πŸ’– (the man page header calls it ONVIF:...terface(3pm), which is just the terminal being dramatic and truncating things, don't worry about it πŸŽ€). It's a Perl data type class, and it's lowkey the blueprint for one whole network interface. slay.


🌸 DESCRIPTION 🌸

so basically, this is a Perl data type class for the XML Schema defined complexType NetworkInterface from the namespace http://www.onvif.org/ver10/schema. it's giving "structured network info, but make it a Perl object" πŸ‘‘

πŸ¦‹ PROPERTIES πŸ¦‹

the following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

  • Enabled
  • Info
  • Link
  • IPv4
  • IPv6
  • Extension

like, six whole properties, one for every vibe a network interface could possibly have πŸ’…


πŸ’œ METHODS πŸ’œ

new

Constructor, bestie 🫢. The following data structure may be passed to new():

 { # ONVIF::Analytics::Types::NetworkInterface
   Enabled =>  $some_value, # boolean
   Info =>  { # ONVIF::Analytics::Types::NetworkInterfaceInfo
     Name =>  $some_value, # string
     HwAddress => $some_value, # HwAddress
     MTU =>  $some_value, # int
   },
   Link =>  { # ONVIF::Analytics::Types::NetworkInterfaceLink
     AdminSettings =>  { # ONVIF::Analytics::Types::NetworkInterfaceConnectionSetting
       AutoNegotiation =>  $some_value, # boolean
       Speed =>  $some_value, # int
       Duplex => $some_value, # Duplex
     },
     OperSettings =>  { # ONVIF::Analytics::Types::NetworkInterfaceConnectionSetting
       AutoNegotiation =>  $some_value, # boolean
       Speed =>  $some_value, # int
       Duplex => $some_value, # Duplex
     },
     InterfaceType => $some_value, # IANA-IfTypes
   },
   IPv4 =>  { # ONVIF::Analytics::Types::IPv4NetworkInterface
     Enabled =>  $some_value, # boolean
     Config =>  { # ONVIF::Analytics::Types::IPv4Configuration
       Manual =>  { # ONVIF::Analytics::Types::PrefixedIPv4Address
         Address => $some_value, # IPv4Address
         PrefixLength =>  $some_value, # int
       },
       LinkLocal =>  { # ONVIF::Analytics::Types::PrefixedIPv4Address
         Address => $some_value, # IPv4Address
         PrefixLength =>  $some_value, # int
       },
       FromDHCP =>  { # ONVIF::Analytics::Types::PrefixedIPv4Address
         Address => $some_value, # IPv4Address
         PrefixLength =>  $some_value, # int
       },
       DHCP =>  $some_value, # boolean
     },
   },
   IPv6 =>  { # ONVIF::Analytics::Types::IPv6NetworkInterface
     Enabled =>  $some_value, # boolean
     Config =>  { # ONVIF::Analytics::Types::IPv6Configuration
       AcceptRouterAdvert =>  $some_value, # boolean
       DHCP => $some_value, # IPv6DHCPConfiguration
       Manual =>  { # ONVIF::Analytics::Types::PrefixedIPv6Address
         Address => $some_value, # IPv6Address
         PrefixLength =>  $some_value, # int
       },
       LinkLocal =>  { # ONVIF::Analytics::Types::PrefixedIPv6Address
         Address => $some_value, # IPv6Address
         PrefixLength =>  $some_value, # int
       },
       FromDHCP =>  { # ONVIF::Analytics::Types::PrefixedIPv6Address
         Address => $some_value, # IPv6Address
         PrefixLength =>  $some_value, # int
       },
       FromRA =>  { # ONVIF::Analytics::Types::PrefixedIPv6Address
         Address => $some_value, # IPv6Address
         PrefixLength =>  $some_value, # int
       },
       Extension =>  { # ONVIF::Analytics::Types::IPv6ConfigurationExtension
       },
     },
   },
   Extension =>  { # ONVIF::Analytics::Types::NetworkInterfaceExtension
     InterfaceType => $some_value, # IANA-IfTypes
     Dot3 =>  { # ONVIF::Analytics::Types::Dot3Configuration
     },
     Dot11 =>  { # ONVIF::Analytics::Types::Dot11Configuration
       SSID => $some_value, # Dot11SSIDType
       Mode => $some_value, # Dot11StationMode
       Alias => $some_value, # Name
       Priority => $some_value, # NetworkInterfaceConfigPriority
       Security =>  { # ONVIF::Analytics::Types::Dot11SecurityConfiguration
         Mode => $some_value, # Dot11SecurityMode
         Algorithm => $some_value, # Dot11Cipher
         PSK =>  { # ONVIF::Analytics::Types::Dot11PSKSet
           Key => $some_value, # Dot11PSK
           Passphrase => $some_value, # Dot11PSKPassphrase
           Extension =>  { # ONVIF::Analytics::Types::Dot11PSKSetExtension
           },
         },
         Dot1X => $some_value, # ReferenceToken
         Extension =>  { # ONVIF::Analytics::Types::Dot11SecurityConfigurationExtension
         },
       },
     },
     Extension =>  { # ONVIF::Analytics::Types::NetworkInterfaceExtension2
     },
   },
 },

it's nested. it's deep. it's the whole interface in one hashref and honestly? iconic πŸ”₯ just copy the shape, swap $some_value for your actual values, and you're good 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. (not a human, not a bestie, just a code generator doing its thing πŸ’€)


okay that's the whole page!! πŸŽ€ this came out of perl v5.40.1, dated 2026-02-01, and it was filed under ONVIF:...terface(3pm) in the User Contributed Perl Documentation β€” mwah, no cap, go build some network interfaces bestie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from