<?=

$form->field($model, 'chain')->dropDownList(['' => '', 'connected-in' => 'connected-in',
    'dynamic-in' => 'dynamic-in',
    'ospf-in' => 'ospf-in',
    'rip-out' => 'rip-out',
    'rip-in' => 'rip-in',
    'ospf-out' => 'ospf-out',]);
?>
<?= $form->field($model, 'prefix'); ?>
<?= $form->field($model, 'prefix_length')->label('Prefix Length'); ?>
<?=

$form->field($model, 'match_chain')->dropDownList(['' => '', 'connected-in' => 'connected-in',
    'dynamic-in' => 'dynamic-in',
    'ospf-in' => 'ospf-in',
    'rip-out' => 'rip-out',
    'rip-in' => 'rip-in',
    'ospf-out' => 'ospf-out',]);
?>
<?=

$form->field($model, 'protocol')->dropDownList(['connect' => 'connect',
    'static' => 'static',
    'rip' => 'rip',
    'ospf' => 'ospf',
    'bgp' => 'bgp',
        ], ['multiple' => true]);
?>
<?= $form->field($model, 'distance'); ?>
<?= $form->field($model, 'scope'); ?>
<?= $form->field($model, 'target_scope')->label('Target Scope'); ?>
<?= $form->field($model, 'pref_src')->label('Pref. Source'); ?>
<?php

$routemark[''] = '';
?>
<?= $form->field($model, 'routing_mark')->dropDownList($routemark); ?>
<?= $form->field($model, 'route_comment')->label('Route Comment'); ?>
<?= $form->field($model, 'route_tag')->label('Route Tag'); ?>
<?= $form->field($model, 'route_target')->label('Route Target'); ?>
<?= $form->field($model, 'site_of_origin')->label('Site Of Origin'); ?>
<?=

$form->field($model, 'address_family')->dropDownList(['ip' => 'ip',
    'ipv6' => 'ipv6',
    'l2vpn' => 'l2vpn',
    'l2vpn-cisco' => 'l2vpn-cisco',
    'vpnv4' => 'vpnv4',
        ], ['multiple' => true]);
?>
<?= $form->field($model, 'ospf_type')->label('OSPF Type'); ?>