beautypg.com

Nport_wwn_map_info, Phantom_port_info – Brocade Network Advisor SAN + IP User Manual v12.3.0 User Manual

Page 2626

background image

2554

Brocade Network Advisor SAN + IP User Manual

53-1003155-01

Views

I

) TEMP_FOUNDRY_MODULE ON TEMP_MODULE.MODULE_ID =

TEMP_FOUNDRY_MODULE.MODULE_ID;

NPORT_WWN_MAP_INFO

This view provides a consolidation between Nport WWN map and AG''s N and F ports. It considers
only those N-Ports that are currently occupied that is having non-empty remote port wwn. This is
required because NPort-WWN mapping might exist for NPorts that are not yet online and if a device
is connected to AG through some F-Port that is mapped to some other N-Port that is online then
AG will use that mapping.

create or replace view NPORT_WWN_MAP_INFO as

select

NPORT_WWN_MAP.VIRTUAL_SWITCH_ID,

NPORT_WWN_MAP.N_PORT,

NPORT_WWN_MAP.DEVICE_PORT_WWN,

AG_N_PORT.REMOTE_PORT_WWN as EDGE_SWITCH_PORT_WWN,

AG_N_PORT.WWN as AG_N_PORT_WWN,

AG_F_PORT.USER_PORT_NUMBER as F_PORT,

AG_F_PORT.WWN as AG_F_PORT_WWN,

AG_F_PORT.REMOTE_NODE_WWN

from

NPORT_WWN_MAP,

SWITCH_PORT AG_N_PORT,

SWITCH_PORT AG_F_PORT,

VIRTUAL_SWITCH AG_SWITCH

where

NPORT_WWN_MAP.VIRTUAL_SWITCH_ID = AG_N_PORT.VIRTUAL_SWITCH_ID

and NPORT_WWN_MAP.N_PORT = AG_N_PORT.USER_PORT_NUMBER

and NPORT_WWN_MAP.VIRTUAL_SWITCH_ID = AG_F_PORT.VIRTUAL_SWITCH_ID

and NPORT_WWN_MAP.DEVICE_PORT_WWN = AG_F_PORT.REMOTE_PORT_WWN

AND AG_N_PORT.VIRTUAL_SWITCH_ID = AG_SWITCH.ID

and AG_SWITCH.MONITORED = 1;

PHANTOM_PORT_INFO

create or replace view PHANTOM_PORT_INFO as

select

PHANTOM_PORT.ID,

PHANTOM_PORT.WWN,

PHANTOM_PORT.VIRTUAL_SWITCH_ID,

PHANTOM_PORT.PORT_NUMBER,

PHANTOM_PORT.PORT_ID,

PHANTOM_PORT.SPEED,

PHANTOM_PORT.MAX_SPEED,

PHANTOM_PORT.TYPE,

PHANTOM_PORT.REMOTE_NODE_WWN,

PHANTOM_PORT.REMOTE_PORT_WWN,

PHANTOM_PORT.PHANTOM_TYPE,

PHANTOM_PORT.BB_FABRIC_ID,

VIRTUAL_SWITCH.WWN as VIRTUAL_SWITCH_WWN,

VIRTUAL_SWITCH.MANAGEMENT_STATE,

VIRTUAL_SWITCH.MONITORED

from

PHANTOM_PORT,

VIRTUAL_SWITCH

where