WCS Routes - Internal Documentation /rev 002 2015-12-11 16:36:12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SIP Gateway Compliance to RFC 3261 RFC 3262 and RFC 3264 Example | |
This section provides a configuration example to match the identified configuration tasks in the previous sections. | |
1w1d: %SYS-5-CONFIG_I: Configured from console by console | |
Building configuration... | |
Current configuration : 3326 bytes | |
! | |
!Last configuration change at 18:09:20 EDT Fri Apr 23 2004 | |
! | |
version 12.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no interface Async5/00 | |
no interface Async5/01 | |
no interface Async5/02 | |
no interface Async5/03 | |
no interface Async5/04 | |
no interface Async5/05 | |
no interface Async5/06 | |
no interface Async5/07 | |
no interface Async5/08 | |
no interface Async5/09 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {0..9} | |
do | |
echo "no interface Async2/0$i" | |
echo "no interface Async3/0$i" | |
echo "no interface Async4/0$i" | |
done | |
for i in {10..107} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no interface Async3/00 | |
no interface Async4/00 | |
no interface Async3/01 | |
no interface Async4/01 | |
no interface Async3/02 | |
no interface Async4/02 | |
no interface Async3/03 | |
no interface Async4/03 | |
no interface Async3/04 | |
no interface Async4/04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no interface Async2/00 | |
no interface Async2/01 | |
no interface Async2/02 | |
no interface Async2/03 | |
no interface Async2/04 | |
no interface Async2/05 | |
no interface Async2/06 | |
no interface Async2/07 | |
no interface Async2/08 | |
no interface Async2/09 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no interface Async2/1 | |
no interface Async2/2 | |
no interface Async2/3 | |
no interface Async2/4 | |
no interface Async2/5 | |
no interface Async2/6 | |
no interface Async2/7 | |
no interface Async2/8 | |
no interface Async2/9 | |
no interface Async2/10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Idempotent way to build a /etc/hosts file with Ansible using your Ansible hosts inventory for a source. | |
# Will include all hosts the playbook is run on. | |
# Inspired from http://xmeblog.blogspot.com/2013/06/ansible-dynamicaly-update-etchosts.html | |
- name: "Build hosts file" | |
lineinfile: dest=/etc/hosts regexp='.*{{ item }}$' line="{{ hostvars[item].ansible_default_ipv4.address }} {{item}}" state=present | |
when: hostvars[item].ansible_default_ipv4.address is defined | |
with_items: groups['all'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkEmailAddress(emailAddress) { | |
check(emailAddress, String); | |
suffix = emailAddress.split('@')[1]; | |
if (suffix === "wcs.com") | |
{ return true } else { return false }; | |
}; | |
Accounts.validateNewUser(function (user) { | |
console.log(user); | |
if (checkEmailAddress(user.emails[0].address)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom |
NewerOlder