Brocade Network Advisor SAN + IP User Manual v12.1.0 User Manual

Page 2357

Advertising
background image

2320

Brocade Network Advisor SAN + IP User Manual

53-1002949-01

Views

I

V.VLAN_DB_ID = PV.VLAN_DB_ID;

create view PROTOCOL_VLAN_INFO as

select

V.*,

PORT_VLAN_DB_ID,

IS_DYNAMIC,

PROTOCOL

from VLAN V, SUB_PORT_VLAN SPV, PROTOCOL_VLAN PV

where V.VLAN_DB_ID = SPV.VLAN_DB_ID AND SPV.VLAN_DB_ID = PV.VLAN_DB_ID;

-- Name: wired_interface; Type: VIEW; Schema: dcm; Owner: dcmadmin

CREATE VIEW wired_interface AS

SELECT l2.device_id, l2.device_ip_address, l2.physical_device_id,

l2.unit_number, l2.slot_id, l2.slot_num, l2.module_id, l2.physical_port_id,

l2.port_num, l2.interface_id, l2.name, l2.if_name, l2.identifier,

l2.table_subtype, l2.tag_mode, l2.speed_in_mb, l2.physical_address,

l2.duplex_mode, l3.ip_id, l3.ip_interface_id, l3.ip_address, l3.subnet_mask FROM

((SELECT DISTINCT d.device_id, d.ip_address AS device_ip_address,

pd.physical_device_id, pd.unit_number, s.slot_id, s.slot_num, msp.module_id,

pp.physical_port_id, pp.port_num, i.interface_id, i.name, i.if_name,

i.identifier, i.table_subtype, i.tag_mode, pi.speed_in_mb, pi.physical_address,

pi.duplex_mode FROM device d, physical_device pd, slot s, module_slot_present msp,

physical_port pp, physical_interface pi, interface i WHERE (((((((d.device_id =

pd.device_id) AND (pd.physical_device_id = s.physical_device_id)) AND (s.slot_id

= msp.slot_id)) AND (msp.module_id = pp.module_id)) AND (pp.physical_port_id =

pi.physical_port_id)) AND (pi.interface_id = i.interface_id)) AND

((i.table_subtype)::text <> 'RADIO_INTERFACE'::text))) l2 LEFT JOIN (SELECT

inm_ip_interface.interface_id AS ip_id, inm_ip_interface.ip_interface_id,

inm_ip_interface.ip_address, inm_ip_interface.subnet_mask FROM inm_ip_interface)

l3 ON ((l2.interface_id = l3.ip_id)));

-- Name: wireless_interface; Type: VIEW; Schema: dcm; Owner: dcmadmin

CREATE VIEW wireless_interface AS

SELECT l2.device_id, l2.device_ip_address, l2.physical_device_id,

l2.unit_number, l2.slot_id, l2.slot_num, l2.module_id, l2.physical_port_id,

l2.port_num, l2.interface_id, l2.name, l2.if_name, l2.identifier, l2.speed_in_mb,

l2.physical_address, l2.interface_id AS radioif_id, wireless.radio_type,

wireless.is_enabled, wireless.is_auto_channel, wireless.tx_power,

wireless.channel_number, wireless.max_data_rate, wireless.beacon_rate,

wireless.dtim, wireless.rts_threshold, wireless.is_turbo_mode,

wireless.radio_g_mode, wireless.max_associated_clients FROM ((SELECT DISTINCT

d.device_id, d.ip_address AS device_ip_address, pd.physical_device_id,

pd.unit_number, s.slot_id, s.slot_num, msp.module_id, pp.physical_port_id,

pp.port_num, i.interface_id, i.name, i.if_name, i.identifier, pi.speed_in_mb,

pi.physical_address FROM device d, physical_device pd, slot s,

module_slot_present msp, physical_port pp, physical_interface pi, interface i

WHERE (((((((d.device_id = pd.device_id) AND (pd.physical_device_id =

s.physical_device_id)) AND (s.slot_id = msp.slot_id)) AND (msp.module_id =

pp.module_id)) AND (pp.physical_port_id = pi.physical_port_id)) AND

(pi.interface_id = i.interface_id)) AND ((i.table_subtype)::text =

'RADIO_INTERFACE'::text))) l2 LEFT JOIN (SELECT radio_interface.interface_id AS

radioif_id, radio_interface.radio_type, radio_interface.is_enabled,

radio_interface.is_auto_channel, radio_interface.tx_power,

radio_interface.channel_number, radio_interface.max_data_rate,

radio_interface.beacon_rate, radio_interface.dtim, radio_interface.rts_threshold,

radio_interface.is_turbo_mode, radio_interface.radio_g_mode,

radio_interface.max_associated_clients FROM radio_interface) wireless ON

((l2.interface_id = wireless.radioif_id)));

Advertising