OpenSDN source code
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
13
struct
InterfaceOsParams
{
14
typedef
boost::uuids::uuid
IfGuid
;
15
16
InterfaceOsParams
() {}
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_
;
21
MacAddress
mac_
;
22
size_t
os_index_
;
23
bool
os_oper_state_
;
24
boost::optional<IfGuid>
os_guid_
;
25
};
26
27
#endif // vnsw_agent_interface_os_params_h
uuid
boost::uuids::uuid uuid
Definition:
vnsw/agent/filter/policy.h:11
MacAddress
Definition:
mac_address.h:14
InterfaceOsParams::name_
std::string name_
Definition:
interface_os_params.h:20
InterfaceOsParams::mac_
MacAddress mac_
Definition:
interface_os_params.h:21
InterfaceOsParams::InterfaceOsParams
InterfaceOsParams()
Definition:
interface_os_params.h:16
InterfaceOsParams::os_oper_state_
bool os_oper_state_
Definition:
interface_os_params.h:23
InterfaceOsParams::os_index_
size_t os_index_
Definition:
interface_os_params.h:22
InterfaceOsParams
Definition:
interface_os_params.h:13
InterfaceOsParams::InterfaceOsParams
InterfaceOsParams(const std::string &name, size_t os_index, bool state)
Definition:
interface_os_params.h:17
InterfaceOsParams::os_guid_
boost::optional< IfGuid > os_guid_
Definition:
interface_os_params.h:24
InterfaceOsParams::IfGuid
boost::uuids::uuid IfGuid
Definition:
interface_os_params.h:14
mac_address.h
contrail
controller
src
vnsw
agent
oper
interface_os_params.h
Generated by
1.8.5