code: def create(cls, name, master_type, mgmt_ip, mgmt_network,
                 mgmt_interface=0,
                 log_server_ref=None, zone_ref=None,
                 domain_server_address=None, enable_gti=False,
                 enable_antivirus=False, comment=None):
          
          interface = {'interface_id': mgmt_interface,
                       'interfaces': [{'nodes': [{'address': mgmt_ip, 'network_value': mgmt_network}]}],
                       'zone_ref': zone_ref, 'comment': comment}
          
          interface = Layer3PhysicalInterface(primary_mgt=mgmt_interface,
              primary_heartbeat=mgmt_interface, **interface)
          
          engine = super(MasterEngine, cls)._create(
              name=name,
              node_type='master_node',
              physical_interfaces=[{'physical_interface':interface}],
              domain_server_address=domain_server_address,
              log_server_ref=log_server_ref,
              nodes=1, enable_gti=enable_gti,
              enable_antivirus=enable_antivirus,
              comment=comment)
  
          engine.update(master_type=master_type,
                        cluster_mode='standby')
  
          try:
              return ElementCreator(cls, json=engine)
      
          except CreateElementFailed as e:
              raise CreateEngineFailed(e)
docs: Create a Master Engine with management interface
  
          :param str name: name of master engine engine
          :param str master_type: firewall|
          :param str mgmt_ip: ip address for management interface
          :param str mgmt_network: full netmask for management
          :param str mgmt_interface: interface to use for mgmt (default: 0)
          :param str log_server_ref: (optional) href to log_server instance 
          :param list domain_server_address: (optional) DNS server addresses
          :param bool enable_antivirus: (optional) Enable antivirus (required DNS)
          :param bool enable_gti: (optional) Enable GTI
          :raises CreateEngineFailed: Failure to create with reason
          :return: :py:class:`smc.core.engine.Engine`