OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
interface_os_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef vnsw_agent_interface_os_params_h
6 #define vnsw_agent_interface_os_params_h
7 
8 #include <string>
9 #include <boost/optional.hpp>
10 #include <boost/uuid/uuid.hpp>
11 #include <net/mac_address.h>
12 
15 
17  InterfaceOsParams(const std::string &name, size_t os_index, bool state) :
18  name_(name), os_index_(os_index), os_oper_state_(state) {}
19 
20  std::string name_;
22  size_t os_index_;
24  boost::optional<IfGuid> os_guid_;
25 };
26 
27 #endif // vnsw_agent_interface_os_params_h
boost::uuids::uuid uuid
InterfaceOsParams(const std::string &name, size_t os_index, bool state)
boost::optional< IfGuid > os_guid_
boost::uuids::uuid IfGuid