diff --git a/fluent-plugin-udp-native-sensors.gemspec b/fluent-plugin-udp-native-sensors.gemspec index 5f0c251..83d119a 100644 --- a/fluent-plugin-udp-native-sensors.gemspec +++ b/fluent-plugin-udp-native-sensors.gemspec @@ -1,23 +1,23 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |s| s.name = "fluent-plugin-udp-native-sensors" s.version = '0.0.1' s.authors = ["Vijay Kumar gadde"] s.email = ["vijaygadde@gmail.com"] - s.description = %q{Input plugin for Fluentd for Juniper devices telemetry data streaming native sensor data in UDP} + s.description = %q{Input plugin for Fluentd for Juniper devices telemetry data streaming native sensor data in UDP } s.summary = %q{Input plugin for Fluentd for Juniper devices telemetry data streaming native sensor data in UDP} - s.homepage = "" + s.homepage = "https://git.juniper.net/vijaygadde/fluent-plugin-udp-native-sensors" s.license = 'Apache 2.0' s.files = Dir['lib/fluent/plugin/parser*.rb', 'lib/*.rb', 'lib/google/protobuf/*.rb' ] s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = %w(lib) s.add_runtime_dependency "fluentd", ">= 0.12.29" s.add_runtime_dependency "protobuf" s.add_development_dependency "rake" end diff --git a/lib/lsp_mon.pb.rb b/lib/lsp_mon.pb.rb index d20461f..7dbe5f8 100644 --- a/lib/lsp_mon.pb.rb +++ b/lib/lsp_mon.pb.rb @@ -1,115 +1,115 @@ # encoding: utf-8 ## # This file is auto-generated. DO NOT EDIT! # require 'protobuf' ## # Enum Classes # class Lsp_event < ::Protobuf::Enum define :INITIATED, 0 define :CONCLUDED_UP, 1 define :CONCLUDED_TORN_DOWN, 2 define :PROTECTION_AVAILABLE, 3 define :PROTECTION_UNAVAILABLE, 4 define :AUTOBW_SUCCESS, 5 define :AUTOBW_FAIL, 6 define :RESV_TEAR_RECEIVED, 7 define :DESELECT_ACTIVE_PATH, 8 define :CHANGE_ACTIVE_PATH, 9 define :DETOUR_UP, 10 define :DETOUR_DOWN, 11 define :ORIGINATE_MBB, 12 define :SELECT_ACTIVE_PATH, 13 define :CSPF_NO_ROUTE, 14 define :CSPF_SUCCESS, 15 define :RESTART_RECOVERY_FAIL, 16 define :PATHERR_RECEIVED, 17 define :PATH_MTU_CHANGE, 18 define :TUNNEL_LOCAL_REPAIRED, 19 end class Event_subcode < ::Protobuf::Enum define :ADMISSION_CONTROL_FAILURE, 1 define :SESSION_PREEMPTED, 2 define :BAD_LOOSE_ROUTE, 3 define :BAD_STRICT_ROUTE, 4 define :LABEL_ALLOCATION_FAILURE, 5 define :NON_RSVP_CAPABLE_ROUTER, 6 define :TTL_EXPIRED, 7 define :ROUTING_LOOP_DETECTED, 8 define :REQUESTED_BANDWIDTH_UNAVAILABLE, 9 end ## # Message Classes # class Key < ::Protobuf::Message; end class Lsp_monitor_data_event < ::Protobuf::Message; end class Ero_type_entry < ::Protobuf::Message; end class Ero_ipv4_type < ::Protobuf::Message; end class Rro_type_entry < ::Protobuf::Message; end class Rro_ipv4_type < ::Protobuf::Message; end class Lsp_monitor_data_property < ::Protobuf::Message; end class Lsp_mon < ::Protobuf::Message; end ## # File Options # -set_option :optimize_for, ::Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME +#set_option :optimize_for, ::Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME ## # Message Fields # class Key required :string, :name, 1 required :int32, :instance_identifier, 2 required :uint64, :time_stampg, 3 end class Lsp_monitor_data_event required ::Lsp_event, :event_identifier, 1 optional ::Event_subcode, :subcode, 2 end class Ero_type_entry required :uint32, :ip, 1 optional :string, :flags, 2 end class Ero_ipv4_type repeated ::Ero_type_entry, :entry, 1 end class Rro_type_entry optional :uint32, :nodeid, 1 optional :uint32, :flags, 2 optional :uint32, :intf_addr, 3 optional :uint32, :label, 4 end class Rro_ipv4_type repeated ::Rro_type_entry, :rro_entry, 1 end class Lsp_monitor_data_property optional :uint64, :bandwidth, 1 optional :string, :path_name, 2 optional :int32, :metric, 3 optional :float, :max_avg_bw, 4 optional ::Ero_ipv4_type, :ero, 5 optional ::Rro_ipv4_type, :rro, 6 end class Lsp_mon required ::Key, :key_field, 1 optional ::Lsp_monitor_data_event, :event_field, 2 optional ::Lsp_monitor_data_property, :property_field, 3 end