guides:user:sample_client_type_setup
LDAP: couldn't connect to LDAP server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
guides:user:sample_client_type_setup [2022/04/29 08:50] – [ADD SITE] pgels | guides:user:sample_client_type_setup [2022/04/29 08:51] (current) – [ADD SITE] pgels | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Sample Client_type setup ===== | ||
+ | |||
+ | This article is intended as a " | ||
+ | It provides a step-by-step, | ||
+ | |||
+ | After each step in the modelling, the corresponding " | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== PREPARATION ==== | ||
+ | |||
+ | Before starting out, ensure the required permissions are available to your account. After logging in, select your name from the header (in this case "Demo user" | ||
+ | {{guides: | ||
+ | |||
+ | |||
+ | and review your profile for the appropriate permissions: | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | The Client-types and the permissions you have in them are listed in the table. Unlisted client-types are invisible to you. This guide expects you to have access to the " | ||
+ | |||
+ | In case you are assigned " | ||
+ | |||
+ | == Reduce visible Client-types == | ||
+ | When setting up a new client_type, | ||
+ | To modify select '' | ||
+ | |||
+ | Adding or altering permissions for client_types uses the reverse selection, but make sure to select the appropriate permission level before clicking the '' | ||
+ | |||
+ | I can be useful to leave at least ONE sample client_type (eg ‘A’) to compare results or setup with. | ||
+ | I will use the ‘A’ (UCL) client_type as a reference in this article. | ||
+ | |||
+ | ==== CLIENT_TYPE ==== | ||
+ | |||
+ | == Create new Client-type == | ||
+ | Open the Modeling form: '' | ||
+ | Select the '' | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Click the '' | ||
+ | |||
+ | Choose an abbreviation for the new client_type.\\ | ||
+ | This abbreviation will be referenced extensively since it denotes the network type or network architecture where customer networks (‘Clients’) are part of. Two or three capital letters are recommended.\\ | ||
+ | I will use ‘SN’ in the remainder of this article. | ||
+ | Type '' | ||
+ | Click the ‘Add’ button. | ||
+ | |||
+ | == Allow user-groups access to the Client type == | ||
+ | Observe that your current group name is already added to the '' | ||
+ | |||
+ | == Select IP-plans for the Client type == | ||
+ | Each client_type can be assigned multiple IP-plans. These IP-plans can be shared between client_types since they only describe how an IP-supernet allocated to a client will be sliced up in subnets. The Ip-plan will be defined in terms of IP-offsets (eg 0.0.0.0 and 0.0.2.0) and will be used as masks that overly the actual IP-range of the supernet. | ||
+ | |||
+ | Many ip-plans can be made available to a client_type, | ||
+ | |||
+ | You can create a new IP-plan using the '' | ||
+ | Scroll down in the IP-plan list and select the '' | ||
+ | |||
+ | == Review an existing IP-plan == | ||
+ | Open the ip-plan setup form of this ip-plan by double-click on the entry (in the right-hand list, not the left-handed one). | ||
+ | |||
+ | The '' | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Select the '' | ||
+ | * rules for automatic ip-address calculation for later reference in the configuration templates; | ||
+ | * rules to locate a free vlan-id; | ||
+ | * rules to define a named ip-range to look for free addresses. | ||
+ | The named range '' | ||
+ | |||
+ | Just take note but make no changes. Close the ip-plan setup form to get back to the Modeling form. | ||
+ | Then close that as well. If a ‘discard changes’ popup shows up, ignore it and confirm. | ||
+ | |||
+ | ==== CLIENT ==== | ||
+ | Although only the very minimal modelling is done so far, a new client of the new type can already be added. | ||
+ | Select the ‘**Build**’ menu to bring up the list of clients, their locations and devices. | ||
+ | |||
+ | All (customer) client networks are created and maintained to using the rules and definitions of the client-type they are created with. Many different client can be created using the same client-type. | ||
+ | |||
+ | In the ‘**Client**’ list, click the '' | ||
+ | A ‘New Client’ popup appears. First select the client_type: | ||
+ | The automatically created Region ‘SN - SN (default)’ is already selected. Later additional regions can be defined should that be required. Normally it isn’t. | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Now type the new Client code, the short reference name or number of this client. Choose '' | ||
+ | The ' | ||
+ | |||
+ | Since we want to use an ip-plan for this client, we need to assign it a supernet. Click on the '' | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Select the desired ip-plan from the ip-plan menu: '' | ||
+ | The ‘Free ranges’ list shows available supernets matching the /22 - if any. These are supernets used earlier and freed or entries populated by an IPAM integration with NetYCE that was setup. | ||
+ | |||
+ | You can select one from the free list (if any) or type a new supernet ip-network address in the ‘**ip-supernet**’ field. Choose a value to your liking. A mismatch in network address and prefix will automatically be corrected: entering 172.17.10.0 for a /22 will result in the supernet 172.17.8.0/ | ||
+ | |||
+ | You also need to provide a DNS domain for the supernet (at least the first time). Use ‘acme.com’ or something else and hit '' | ||
+ | |||
+ | The next step would be to add locations or ‘Sites’ to this ‘Amsterdam’ client. However, the required site-types are not defined yet. | ||
+ | |||
+ | ==== SITE_TYPE ==== | ||
+ | |||
+ | To add site types to the **SN** client type, open the **Modeling** form from the **Design** menu. Select the ‘**Site types**’ tab. | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Click the '' | ||
+ | |||
+ | For the Site type name choose an abbreviation that describes to an operator what network architecture to expect. Usually these types already exist within the organization or the global network design. In our example we use '' | ||
+ | Click the ‘**Add**’ button. (ignore the ‘site type exist' should one pop up). | ||
+ | |||
+ | Note the Max/ | ||
+ | |||
+ | The location naming convention can be defined if desired. Often the names of the network device is based on the location name (or site-code). It is the default behaviour of the node-types. | ||
+ | |||
+ | Click on the button ‘**Create Format**’ to define the naming rules for a new location. If no naming convention applies, leave the format blank. In that case the operator can enter the site-code without restrictions. | ||
+ | |||
+ | In the Create Format popup, click on the unlabelled button (if no format exists yet) to allow the selection of the first element of the site-code. The naming rules allow up to seven elements.\\ | ||
+ | For the example we will use a naming convention where the site code consists of:\\ | ||
+ | ''< | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | In the end the format template will look something similar to | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | Click ' | ||
+ | |||
+ | Before adding the remaining definitions to the site type, let's observe the result by adding a site to the ‘Amsterdam’ client. | ||
+ | |||
+ | ==== ADD SITE ==== | ||
+ | |||
+ | Add a new site to the **Amsterdam** client. | ||
+ | |||
+ | Open the **Build** menu. The ‘**Amsterdam**’ client is still selected if still working in the same session.\\ | ||
+ | Click the '' | ||
+ | |||
+ | Choose '' | ||
+ | |||
+ | |||
+ | {{guides: | ||
+ | |||
+ | At the bottom of the form the new site_code is shown. It should be '' | ||
+ | |||
+ | If the ' | ||
+ | |||
+ | Click ‘Apply’. The ‘**Site Details**’ form then opens. It lists some default attributes. Complete as desired and close it. It can be reopened by double clicking in the Site list of the build menu.\\ | ||
+ | A second site can be added in the same fashion. The site code is adjusted to remain unique. | ||
+ | |||
+ | To populate the new site with devices, subnets and topology, the '' | ||
+ | |||
+ | |||
+ | ==== SITE TYPE: Adding Service classes ==== | ||
+ | |||
+ | Open the ‘**Modeling**’ form from the ‘**Design**’ menu and select the ' | ||
+ | |||
+ | The ‘**Service class**’ list is currently still empty.\\ | ||
+ | Now let’s assume the architecture of this site type demands the use of a redundant (dual) collapsed core and access switches that connect to each core. We call these functions ‘Service classes’ since they provide a redundant core and access services. | ||
+ | |||
+ | Click the '' | ||
+ | Type the name for the service class, use a naming convention of your own choosing that is sufficiently flexible to allow easy identification. Use ‘**sn-sbo-dcore**’ and click ‘**Add**’. | ||
+ | |||
+ | Also add the class ‘**sn-sbo-accessv**’. | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | Note that each class created defaults with a ‘1’ for the Max Services/ | ||
+ | Note: the hierarchy-id is a relative number indicating which service is ‘higher’ in the hierarchy. It is used to determine what is up or downlink with the lower numbers being ‘up’. | ||
+ | |||
+ | A graphical image can be uploaded to show the operator the reference architecture of the site. By dragging a rectangle over appropriate sections of this image, the modeller can create ‘buttons’ on this image that correspond to the creation of the service classes he defined. It is way operators can ignore the service class names and concentrate on the familiar drawings. | ||
+ | |||
+ | {{guides: | ||
+ | |||
+ | The result can be observed when attempting to add a node to the **Amsterdam** - **sn-sbo-01** site. The two services are now listed, and possibly clickable graph too. However, clicking the '' | ||
+ | |||
+ | Service types define the creation and usage of network components like devices (nodes), subnets, topology, relations and assignments. In the same way we had to define an ip-plan and supernets to create subnets, we need hardware, templates and blueprints as components to create nodes and configurations. | ||
+ | |||
+ | |||
+ | ==== HARDWARE ==== | ||
+ | Open the ‘Hardware' | ||
+ | Here we can define what hardware types we are allowed to use in our designs (service types). Assume we standardised the entire (SN) network on c3560 and c4503 from Cisco.\\ | ||
+ | Click the ‘+’ of the ‘Models’ list and select/ | ||
+ | | ||
+ | Also add the 4503 using Vendor type: Cisco_IOS, Model_name: c3560-24, Hw_modelc3560-enterprise, | ||
+ | |||
+ | After these are created you will see no (default) template is associated with the models. We need to add these (main) templates before we can properly use the hardware. | ||
+ | |||
+ | ==== MAIN TEMPLATE ==== | ||
+ | Open the ‘Templates’ form from the ‘Build’ menu.\\ | ||
+ | No entries should be visible at this time since the templates are always unique for the client_type. Therefore only those templates are shown of the client_type where the client belongs to. This way a template change will never affect other networks. | ||
+ | |||
+ | In the ‘Main templates’ tab, add the two templates for the hardware we added. Start with: | ||
+ | *Template: sbo-dcore-4503, | ||
+ | |||
+ | This opens the ' | ||
+ | < | ||
+ | ! sbo-dcore-4503 main template | ||
+ | ! | ||
+ | </ | ||
+ | |||
+ | Make sure the ‘Status’ field is set to ‘production’ before clicking the ‘ok’. The default is ‘planned’. Each templates (main, sub or port templates) has a set of revisions of which only one has the ‘production’ status. After changing a ‘planned’ template to ‘production’ level, the existing production revision becomes ‘historical’. Configurations can be tested while using ‘planned’ template revisions, but they can never be pushed to a device. | ||
+ | |||
+ | Also add two more main templates using the 3560’s, on for each role they are used in:\\ | ||
+ | *Template: sbo-dcore-3560-24, | ||
+ | *Template: sbo-accesv-3560-24, | ||
+ | The template texts for these are equivalent. | ||
+ | |||
+ | ==== NODE TYPES ==== | ||
+ | To use the hardware and templates together as a standard component in service types, node types are created where default and custom attributes are assigned. Although these can be created an attribute at the time, it is quicker to duplicate an existing and modify a few specifics. | ||
+ | |||
+ | Open the ‘Modeling’ form from the ‘Design’ menu, Select the 'Node types’ tab. Select any of the existing node types from the list and click the ‘Duplicate’ action.\\ | ||
+ | Then select '' | ||
+ | Click the ‘Duplicate’ button. | ||
+ | |||
+ | In the ‘Parameter’ list of the new node type a few alterations need to be made to parameter values: | ||
+ | *Hostname: | ||
+ | *Node_fqdn: '' | ||
+ | *Template: | ||
+ | |||
+ | The arguments used with the function sequenced_nodename() here will create the node name for the new device based on the site code where a free sequence number is appended between 001 and 002. | ||
+ | |||
+ | The same steps can be repeated to create the node types '' | ||
+ | *Hostname: | ||
+ | *Node_fqdn: '' | ||
+ | *Template: | ||
+ | |||
+ | and '' | ||
+ | *Hostname: | ||
+ | *Node_fqdn: '' | ||
+ | *Template: | ||
+ | |||
+ | Note: More experienced modellers will probably create just two node types, one the the core, one for the access. They will then use the service types to modify the template (and implicitly the hardware too). Being a framework, the NetYCE modelling usually allows for several methods to achieve an objective. | ||
+ | |||
+ | ==== SERVICE TYPES ==== | ||
+ | The Service types will bring everything we have build so far together. | ||
+ | |||
+ | > to be added | ||
+ | |||
+ | ==== PORT TEMPLATES ==== | ||
+ | |||
+ | > to be added | ||
+ | |||
+ | ==== BLUEPRINT SWITCHPORTS ==== | ||
+ | |||
+ | > to be added | ||
+ | |||
guides/user/sample_client_type_setup.txt · Last modified: 2022/04/29 08:51 by pgels