Module modeling :: Class HostRoleEnum
[hide private]

Class HostRoleEnum

source code

Predefined role definitions that node may own

Instance Methods [hide private]
 
values(self) source code
Class Variables [hide private]
  VIRTUAL = RoleDefinition("virtualized_system", 'host_isvirtual')
  ROUTER = RoleDefinition("router", 'host_isroute', OshClassEntr...
  FIREWALL = RoleDefinition("firewall", filter= OshClassEntryFil...
  ATM = RoleDefinition("atm_switch", filter= OshClassEntryFilter...
  LAN = RoleDefinition("lan_switch", filter= OshClassEntryFilter...
  DESKTOP = RoleDefinition("desktop", 'host_isdesktop')
  SERVER = RoleDefinition("server")
  LOAD_BALANCER = RoleDefinition("load_balancer", filter= OshCla...
  NET_PRINTER = RoleDefinition("printer", filter= OshClassEntryF...
Class Variable Details [hide private]

ROUTER

Value:
RoleDefinition("router", 'host_isroute', OshClassEntryFilter("router",\
 "switchrouter"))

FIREWALL

Value:
RoleDefinition("firewall", filter= OshClassEntryFilter("firewall"))

ATM

Value:
RoleDefinition("atm_switch", filter= OshClassEntryFilter("atmswitch"))

LAN

Value:
RoleDefinition("lan_switch", filter= OshClassEntryFilter("switch", "fc\
switch"))

LOAD_BALANCER

Value:
RoleDefinition("load_balancer", filter= OshClassEntryFilter('lb'))

NET_PRINTER

Value:
RoleDefinition("printer", filter= OshClassEntryFilter('netprinter'))